Property | Type | Description | |
---|---|---|---|
clientDic | Socket>.Dictionary |
Method | Description | |
---|---|---|
AcceptHandler ( ) : void | ||
Broadcast ( byte msg, bool ForALL, Socket exceptClient = null ) : void | ||
ClientHandler ( Socket client ) : void | ||
ClientNicknameExisted ( string username ) : bool | ||
Decrypt ( string toDecrypt, string key ) : string | ||
ERRLog ( string text, bool firstline = false ) : void | ||
Encrypt ( string toEncrypt, string key ) : string | ||
MSGLog ( string text, bool firstline = false ) : void | ||
MainWindow ( ) : System | ||
RegClient ( string name, Socket s ) : void | ||
SYSLog ( string text, bool firstline = false ) : void | ||
UnRegClient ( string name ) : void | ||
debugLog ( string text, bool firstline = false ) : void | ||
kickAllClient ( ) : void | ||
makeUI ( bool enable ) : void | ||
outputAllClient ( ) : string | ||
parseData ( string rawdata ) : string[] | ||
parseMsg ( string cmd, string msg ) : byte[] | ||
str2bytes ( string before ) : byte[] |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
LogBox_TextChanged ( object sender, EventArgs e ) : void | ||
MainWindow_Load ( object sender, EventArgs e ) : void | ||
StartButton_Click ( object sender, EventArgs e ) : void |
public Broadcast ( byte msg, bool ForALL, Socket exceptClient = null ) : void | ||
msg | byte | |
ForALL | bool | |
exceptClient | Socket | |
return | void |
public ClientHandler ( Socket client ) : void | ||
client | Socket | |
return | void |
public ClientNicknameExisted ( string username ) : bool | ||
username | string | |
return | bool |
public Decrypt ( string toDecrypt, string key ) : string | ||
toDecrypt | string | |
key | string | |
return | string |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public ERRLog ( string text, bool firstline = false ) : void | ||
text | string | |
firstline | bool | |
return | void |
public Encrypt ( string toEncrypt, string key ) : string | ||
toEncrypt | string | |
key | string | |
return | string |
public MSGLog ( string text, bool firstline = false ) : void | ||
text | string | |
firstline | bool | |
return | void |
public RegClient ( string name, Socket s ) : void | ||
name | string | |
s | Socket | |
return | void |
public SYSLog ( string text, bool firstline = false ) : void | ||
text | string | |
firstline | bool | |
return | void |
public debugLog ( string text, bool firstline = false ) : void | ||
text | string | |
firstline | bool | |
return | void |
public parseData ( string rawdata ) : string[] | ||
rawdata | string | |
return | string[] |
public parseMsg ( string cmd, string msg ) : byte[] | ||
cmd | string | |
msg | string | |
return | byte[] |