9 #ifndef  CClientTCPSocket_H    10 #define  CClientTCPSocket_H    22         class CServerTCPSocket;
    44 #ifdef MRPT_OS_WINDOWS    47 #       if MRPT_WORD_SIZE==64    88                         unsigned short          remotePartTCPPort,
    89                         unsigned int            timeout_ms = 0 );
   138                         const int       timeoutStart_ms = -1,
   139                         const int       timeoutBetween_ms = -1);
   152                         const int       timeout_ms = -1 );
   161                         const int timeout_ms = -1
   172                         const unsigned int      timeoutStart_ms = 100,
   173                         const unsigned int      timeoutBetween_ms = 1000
   177                 size_t  getReadPendingBytes();
   183                 int setTCPNoDelay( 
const int &newValue );
   192                 int setSOSendBufffer( 
const int &newValue );
   195                 int getSOSendBufffer();
 
uint64_t Seek(int64_t Offset, CStream::TSeekOrigin Origin=sFromBeginning) MRPT_OVERRIDE
This virtual method has no effect in this implementation over a TCP socket, and its use raises an exc...
 
TSeekOrigin
Used in CStream::Seek. 
 
#define MRPT_OVERRIDE
C++11 "override" for virtuals: 
 
std::string getLastErrorStr()
Returns a description of the last Sockets error. 
 
#define THROW_EXCEPTION(msg)
 
unsigned short m_remotePartPort
The TCP port of the remote part of the connection. 
 
A TCP socket that can be wait for client connections to enter. 
 
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
 
#define MRPT_UNUSED_PARAM(a)
Can be used to avoid "not used parameters" warnings from the compiler. 
 
std::string BASE_IMPEXP getLastSocketErrorStr()
Returns a description of the last Sockets error. 
 
static unsigned int DNS_LOOKUP_TIMEOUT_MS
See description of CClientTCPSocket. 
 
GLsizei const GLchar ** string
 
unsigned __int64 uint64_t
 
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. 
 
int m_hSock
The handle for the connected TCP socket, or -1. 
 
std::string m_remotePartIP
The IP address of the remote part of the connection. 
 
uint64_t getPosition() MRPT_OVERRIDE
This virtual method has no effect in this implementation over a TCP socket, and its use raises an exc...
 
A TCP socket that can be connected to a TCP server, implementing MRPT's CStream interface for passing...
 
unsigned __int32 uint32_t
 
uint64_t getTotalBytesCount() MRPT_OVERRIDE
This virtual method has no effect in this implementation over a TCP socket, and its use raises an exc...
 
A class that contain generic messages, that can be sent and received from a "CClientTCPSocket" object...