#include <socketInConnection.h>
Definition at line 47 of file socketInConnection.h.
§ CSocketInConnection()
CSocketInConnection::CSocketInConnection |
( |
int |
theConnectionPort, |
|
|
unsigned short |
maxPacketSize = 250 , |
|
|
char |
headerID1 = 59 , |
|
|
char |
headerID2 = 57 |
|
) |
| |
§ ~CSocketInConnection()
CSocketInConnection::~CSocketInConnection |
( |
| ) |
|
|
virtual |
§ _getTimeDiffInMs()
unsigned int CSocketInConnection::_getTimeDiffInMs |
( |
unsigned int |
lastTime | ) |
|
|
protected |
§ _getTimeInMs()
unsigned int CSocketInConnection::_getTimeInMs |
( |
| ) |
|
|
protected |
§ _receiveSimplePacket()
int CSocketInConnection::_receiveSimplePacket |
( |
std::vector< char > & |
packet | ) |
|
|
protected |
§ _sendSimplePacket()
bool CSocketInConnection::_sendSimplePacket |
( |
char * |
packet, |
|
|
int |
packetLength, |
|
|
unsigned short |
packetsLeft |
|
) |
| |
|
protected |
§ connectToClient()
bool CSocketInConnection::connectToClient |
( |
| ) |
|
§ getConnectedMachineIP()
std::string CSocketInConnection::getConnectedMachineIP |
( |
| ) |
|
§ receiveData()
char * CSocketInConnection::receiveData |
( |
int & |
dataSize | ) |
|
§ replyToReceivedData()
bool CSocketInConnection::replyToReceivedData |
( |
char * |
data, |
|
|
int |
dataSize |
|
) |
| |
§ _headerByte1
char CSocketInConnection::_headerByte1 |
|
protected |
§ _headerByte2
char CSocketInConnection::_headerByte2 |
|
protected |
§ _maxPacketSize
unsigned short CSocketInConnection::_maxPacketSize |
|
protected |
§ _socketClient
SOCKET CSocketInConnection::_socketClient |
|
protected |
§ _socketConnectedMachineIP
std::string CSocketInConnection::_socketConnectedMachineIP |
|
protected |
§ _socketConnectionPort
int CSocketInConnection::_socketConnectionPort |
|
protected |
§ _socketConnectWasOk
bool CSocketInConnection::_socketConnectWasOk |
|
protected |
§ _socketLocal
struct sockaddr_in CSocketInConnection::_socketLocal |
|
protected |
§ _socketServer
SOCKET CSocketInConnection::_socketServer |
|
protected |
§ _socketTheSet
fd_set CSocketInConnection::_socketTheSet |
|
protected |
The documentation for this class was generated from the following files: