|
nidas v1.2.3
|
#include <McSocket.h>
Public Member Functions | |
| McSocketData () | |
| Constructor. | |
Public Attributes | |
| int | magic |
| Magic value that should be found at the beginning of all received datagrams. | |
| int | _requestType |
| An integer which identifies the type of the request. | |
| unsigned short | _listenPort |
| Socket port that the remote host is listening on. | |
| short | _socketType |
| Either SOCK_STREAM=1, or SOCK_DGRAM=2. | |
|
inline |
Constructor.
| unsigned short nidas::util::McSocketData::_listenPort |
Socket port that the remote host is listening on.
Stored in "network", big-endian order.
| int nidas::util::McSocketData::_requestType |
An integer which identifies the type of the request.
A McSocketListener on the server side must be doing an accept for a McSocket with the same requestType value. Stored in "network", big-endian order.
| short nidas::util::McSocketData::_socketType |
Either SOCK_STREAM=1, or SOCK_DGRAM=2.
| int nidas::util::McSocketData::magic |
Magic value that should be found at the beginning of all received datagrams.