#include <network.h>
Public Methods | |
| cNetwork () | |
| void | enterchar (int s) |
| void | startchar (int s) |
| void | LoginMain (int s) |
| void | xSend (NXWSOCKET socket, const void *point, int length) |
| void | xSend (NXWSOCKET socket, wstring &p, bool alsoTermination=true) |
| void | Disconnect (NXWSOCKET s) |
| void | ClearBuffers () |
| void | CheckConn () |
| void | CheckMessage () |
| void | SockClose () |
| void | FlushBuffer (NXWSOCKET s) |
| void | LoadHosts_deny (void) |
| bool | CheckForBlockedIP (sockaddr_in ip_address) |
Public Attributes | |
| int | kr |
| int | faul |
Private Methods | |
| void | DoStreamCode (NXWSOCKET s) |
| int | Pack (void *pvIn, void *pvOut, int len) |
| void | Login2 (int s) |
| void | Relay (int s) |
| void | GoodAuth (int s) |
| void | charplay (int s) |
| void | CharList (int s) |
| int | Receive (int s, int x, int a) |
| Receive data from a socket. | |
| void | GetMsg (int s) |
| char | LogOut (NXWSOCKET s) |
| void | pSplit (char *pass0) |
| void | sockInit () |
| void | ActivateFeatures (NXWSOCKET s) |
| unsigned char | calculateLoginKey (unsigned char loginKey[4], unsigned char packetId) |
Private Attributes | |
| std::vector< ip_block_st > | hosts_deny |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
||||||||||||||||
|
Receive data from a socket.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|