IG.Forms.TestTcpServer.TestTcpServer |
( |
| ) |
|
|
inline |
Constructor with default IP address and port (local:8000).
IG.Forms.TestTcpServer.TestTcpServer |
( |
string |
IP, |
|
|
int |
port |
|
) |
| |
|
inline |
void IG.Forms.TestTcpServer.StopRequest |
( |
| ) |
|
|
inline |
A gentle way to stop the server.
void IG.Forms.TestTcpServer.SendData |
( |
string |
Data | ) |
|
|
inlineprivate |
void IG.Forms.TestTcpServer.StartServer |
( |
| ) |
|
|
inline |
References IG.Forms.ServerMessages.ConnectAcknowledged, IG.Forms.ServerMessages.DisconnectAcknowledged, IG.Forms.ClientMessages.DisconnectClient, IG.Forms.ServerMessages.DisconnectSrv, IG.Forms.ServerMessages.PingAcknowledgeSrv, IG.Forms.ClientMessages.PingRequestClient, IG.Forms.ClientMessages.ReadyClient, IG.Forms.ServerMessages.ReadySrv, IG.Forms.ServerMessages.ReceivedSrv, IG.Forms.ClientMessages.RequestConnect, IG.Forms.ClientMessages.SendClient, IG.Forms.ServerMessages.TooManyConnectionsSrv, and IG.Forms.ServerMessages.UnknownRequestSrv.
Referenced by IG.Forms.TestTcpMultiThreadedServer.ServerThreadFunc().
bool IG.Forms.TestTcpServer.ConsoleReady |
( |
| ) |
|
|
inlineprivate |
void IG.Forms.TestTcpServer.CloseConsoleHandler |
( |
object |
sender, |
|
|
System.EventArgs |
e |
|
) |
| |
|
inlineprivate |
void IG.Forms.TestTcpServer.Report |
( |
string |
str | ) |
|
|
inline |
void IG.Forms.TestTcpServer.ReportMarked |
( |
string |
str | ) |
|
|
inline |
void IG.Forms.TestTcpServer.ReportError |
( |
string |
str | ) |
|
|
inline |
void IG.Forms.TestTcpServer.ReportError |
( |
Exception |
e, |
|
|
string |
additionalmessage |
|
) |
| |
|
inline |
void IG.Forms.TestTcpServer.ReportError |
( |
Exception |
e | ) |
|
|
inline |
int IG.Forms.TestTcpServer.Port = 8000 |
string IG.Forms.TestTcpServer.IPstr = "127.0.0.1" |
int IG.Forms.TestTcpServer.ID =0 |
string IG.Forms.TestTcpServer.Name = "" |
bool IG.Forms.TestTcpServer.SingleClient = true |
bool IG.Forms.TestTcpServer.TooManyConnections = false |
bool IG.Forms.TestTcpServer.StopRequested = false |
|
private |
Thread IG.Forms.TestTcpServer.ServerThread =null |
Parent that launhed this server instance.
int IG.Forms.TestTcpServer.MaxReportLength = 60 |
|
private |
int IG.Forms.TestTcpServer.numinstances = 0 |
|
staticprivate |
string IG.Forms.TestTcpServer.ReceivedMessage =null |
|
private |
string IG.Forms.TestTcpServer.ReceivedData =null |
|
private |
bool IG.Forms.TestTcpServer.Stop =false |
|
private |
int IG.Forms.TestTcpServer.NumRequests = 0 |
|
private |
TcpListener IG.Forms.TestTcpServer.listener = null |
|
private |
NetworkStream IG.Forms.TestTcpServer.stream = null |
|
private |
BinaryWriter IG.Forms.TestTcpServer.SWriter = null |
|
private |
BinaryReader IG.Forms.TestTcpServer.SReader = null |
|
private |
int IG.Forms.TestTcpServer.reccount = 0 |
|
private |
int IG.Forms.TestTcpServer.totcount = 0 |
|
staticprivate |
Returns the server's own console.
The documentation for this class was generated from the following file: