Table of Contents

Module: pubtcp pubtcp.py
Imported modules   
import copy
import pub
from pubcore import *
from pubobjs import Actor
import pubverbs
import re
from socket import *
import string
import types
import whrandom
Functions   
Disconnect
NetUpdate
NewConn
ShutDown
StartServer
  Disconnect 
Disconnect ( player,  msg='' )

function to disconnect a NetPlayer

  NetUpdate 
NetUpdate ()

network update
call this function periodically
  NewConn 
NewConn ( conn,  addr )

handle a new connection

  ShutDown 
ShutDown ()

function to shut the server down

  StartServer 
StartServer ()

function to start the server

Classes   

LoginConn

class LoginConn
a connection still in the process of logging in

NetPlayer

class of the network player
i.e., the Actor interfaced to a socket

Table of Contents

This document was automatically generated on Mon Aug 8 17:04:06 2005 by HappyDoc version 2.1