#include <sot/talos_balance/sdk_qualisys/Network.h>
Public Member Functions | |
| CNetwork () | |
| ~CNetwork () | |
| bool | Connect (const char *pServerAddr, unsigned short nPort) |
| bool | Connected () const |
| bool | CreateUDPSocket (unsigned short &nUDPPort, bool bBroadcast=false) |
| void | Disconnect () |
| int | GetError () const |
| char * | GetErrorString () |
| unsigned short | GetUdpBroadcastServerPort () |
| unsigned short | GetUdpServerPort () |
| bool | IsLocalAddress (unsigned int nAddr) const |
| int | Receive (char *rtDataBuff, int nDataBufSize, bool bHeader, int nTimeout, unsigned int *ipAddr=nullptr) |
| bool | Send (const char *pSendBuf, int nSize) |
| bool | SendUDPBroadcast (const char *pSendBuf, int nSize, short nPort, unsigned int nFilterAddr=0) |
| CNetwork | ( | ) |
Definition at line 45 of file Network.cpp.
| ~CNetwork | ( | ) |
Definition at line 55 of file Network.cpp.
| bool Connect | ( | const char * | pServerAddr, |
| unsigned short | nPort | ||
| ) |
Definition at line 79 of file Network.cpp.
| bool Connected | ( | ) | const |
Definition at line 153 of file Network.cpp.
| bool CreateUDPSocket | ( | unsigned short & | nUDPPort, |
| bool | bBroadcast = false |
||
| ) |
Definition at line 155 of file Network.cpp.
| void Disconnect | ( | ) |
Definition at line 141 of file Network.cpp.
| int GetError | ( | ) | const |
Definition at line 434 of file Network.cpp.
| char * GetErrorString | ( | ) |
Definition at line 432 of file Network.cpp.
| unsigned short GetUdpBroadcastServerPort | ( | ) |
Definition at line 219 of file Network.cpp.
| unsigned short GetUdpServerPort | ( | ) |
Definition at line 215 of file Network.cpp.
| bool IsLocalAddress | ( | unsigned int | nAddr | ) | const |
Definition at line 436 of file Network.cpp.
| int Receive | ( | char * | rtDataBuff, |
| int | nDataBufSize, | ||
| bool | bHeader, | ||
| int | nTimeout, | ||
| unsigned int * | ipAddr = nullptr |
||
| ) |
Definition at line 226 of file Network.cpp.
| bool Send | ( | const char * | pSendBuf, |
| int | nSize | ||
| ) |
Definition at line 313 of file Network.cpp.
| bool SendUDPBroadcast | ( | const char * | pSendBuf, |
| int | nSize, | ||
| short | nPort, | ||
| unsigned int | nFilterAddr = 0 |
||
| ) |
Definition at line 328 of file Network.cpp.