|
syncsys
|
basisnetwork-client for connection to a basicnetwork-server More...
#include <network.h>
Public Member Functions | |
| BasicClient (bool AllowSendBlock=false, bool DisableNagle=true, int SendBufferSize=256 *1024, unsigned short CloseMsg=-1) | |
| standard c'tor | |
| virtual bool | connectto (sockaddr_in, bool blocking=false) |
| connect to a server. | |
| virtual bool | connectto (const char *, int, bool blocking=false) |
| connect to a server. | |
| virtual bool | disconnect (void) |
| disconnect from server, if connected and reinit socket. | |
basisnetwork-client for connection to a basicnetwork-server
| virtual bool netlib::BasicClient::connectto | ( | sockaddr_in | , |
| bool | blocking = false |
||
| ) | [virtual] |
connect to a server.
if blocking = true the methode waits for the accept. Else try to connect asycronously until success or a call to disconnect. Return true, if no error occurs.
| virtual bool netlib::BasicClient::connectto | ( | const char * | , |
| int | , | ||
| bool | blocking = false |
||
| ) | [virtual] |
connect to a server.
if blocking = true the methode waits for the accept. Else try to connect asycronously until success or a call to disconnect. Return true, if no error occurs.
1.7.3