|
bool | init () |
|
bool | init (const char *certFile, const char *keyFile) |
|
bool | connect (SOCKET s, uint64 localAddr, NetworkDataReceiver *receiver=NULL) |
|
bool | connect (uint64 addr, uint32 timeoutMS, NetworkDataReceiver *receiver=NULL) |
|
bool | connect (const char *addr, uint16 port, uint64 &location, uint32 timeoutMS, NetworkDataReceiver *receiver=NULL) |
|
bool | connect (const uint32 *addresses, uint16 addressCount, uint16 port, uint64 &location, uint32 timeoutMS, NetworkDataReceiver *receiver=NULL) |
|
bool | delayedConnect (uint64 addr, uint32 timeoutMS, NetworkDataReceiver *receiver) |
|
bool | delayedConnect (const char *addr, uint16 port, uint64 &location, uint32 timeoutMS, NetworkDataReceiver *receiver) |
|
bool | send (char *data, uint32 size, uint64 receiver=0) |
|
bool | reconnect () |
|
bool | isConnected (int timeout=0) |
|
bool | didConnect (int timeout=0) |
|
bool | disconnect (uint16 error=0) |
|
int32 | peekStream () |
|
int32 | readIntoBuffer () |
|
bool | receive (char *data, uint32 size, uint32 timeout, bool peek=false) |
|
bool | receiveAvailable (char *data, uint32 &size, uint32 maxSize, uint32 timeout, bool peek=false) |
|
virtual bool | isRemote () |
|
virtual uint64 | getRemoteAddress () |
|
bool | setConnectTimeout (uint32 timeoutMS) |
|
virtual bool | discard (uint32 size) |
|
virtual uint32 | clearBuffer () |
|
virtual bool | waitForDataToRead (uint32 timeout) |
|
virtual bool | waitForDataToBeWritten (uint32 timeout) |
|
virtual uint32 | getOutputSpeed () |
|
virtual uint32 | getInputSpeed () |
|
virtual uint8 | getConnectionType () |
|
bool | setGreetingData (const char *data, uint32 size) |
|
virtual bool | stop (uint32 timeout=200) |
|