Property | Type | Description | |
---|---|---|---|
m_socketListenersList | ArrayList |
Method | Description | |
---|---|---|
GetNumberConnections ( ) : int | ||
StartServer ( ) : void |
Method that starts TCP/IP Server.
|
|
StopServer ( ) : void |
Method that stops the TCP/IP Server.
|
|
TCPServer ( |
||
TCPServer ( |
||
TCPServer ( |
||
TCPServer ( int iPort ) : System |
Constructors.
|
Method | Description | |
---|---|---|
Init ( |
Init method that create a server (TCP Listener) Object based on the IP Address and Port information that is passed in.
|
|
PurgingThreadStart ( ) : void |
Thread method for purging Client Listeneres that are marked for deletion (i.e. clients with socket connection closed). This thead is a low priority thread and sleeps for 10 seconds and then check for any client SocketConnection obects which are obselete and marked for deletion.
|
|
ServerThreadStart ( ) : void |
TCP/IP Server Thread that is listening for clients.
|
|
StopAllSocketListers ( ) : void |
Method that stops all clients and clears the list.
|
public TCPServer ( |
||
serverIP | ||
return | System |
public TCPServer ( |
||
serverIP | ||
port | int | |
return | System |
public TCPServer ( |
||
ipNport | ||
return | System |