|
DTrackSDK
v2.9.0
|
#include <DTrackNet.hpp>
Public Member Functions | |
| TCP (unsigned int ip, unsigned short port) | |
| Initialize client TCP socket. More... | |
| ~TCP () | |
| Deinitialize TCP socket. | |
| bool | isValid () |
| Returns if TCP connection is active. | |
| int | receive (void *buffer, int maxLen, int toutUs) |
| Receive TCP data. More... | |
| int | send (const void *buffer, int len, int toutUs) |
| Send TCP data. More... | |
Handling TCP data.
Definition at line 139 of file DTrackNet.hpp.
| DTrackNet::TCP::TCP | ( | unsigned int | ip, |
| unsigned short | port | ||
| ) |
Initialize client TCP socket.
Definition at line 394 of file DTrackNet.cpp.
| int DTrackNet::TCP::receive | ( | void * | buffer, |
| int | maxLen, | ||
| int | toutUs | ||
| ) |
Receive TCP data.
| [out] | buffer | Buffer for TCP data |
| [in] | maxLen | Length of buffer |
| [in] | toutUs | Timeout in us (micro seconds) |
Definition at line 461 of file DTrackNet.cpp.
Referenced by DTrackSDK::sendDTrack2Command().
| int DTrackNet::TCP::send | ( | const void * | buffer, |
| int | len, | ||
| int | toutUs | ||
| ) |
Send TCP data.
| [in] | buffer | Buffer for TCP data |
| [in] | len | Length of buffer |
| [in] | toutUs | Timeout in us (micro seconds) |
Definition at line 505 of file DTrackNet.cpp.
Referenced by DTrackSDK::sendDTrack2Command().
1.8.14