Remote mailbox client class.
int | m_iSocket Socket file descriptor number. |
bool | m_bConnected Connection flag. |
bool | m_bVerbose Verbosity level. |
char | m_strMailBoxName [RMBX_MAILBOX_ID_SIZE+1] Mailbox identifier. |
struct sockaddr_in | m_sinAddress Server address. |
Remote mailbox client class. This class represents a mailbox that is stored and managed by a remote host on the behalf of the process that owns the mailbox itself and the object of this class which is associated to it. This class exports a number of methods that can be used to connect as a client to a mailboxd daemon on a networked server, to register onto it with an unique identifier and create a mailbox on it, to write a message to another mailbox and to read the mailbox.
iLen - contains the lenght of the message text buffer.
RMBX_MAX_MESSAGE_SIZE
~CRemoteMailbox();
strServerHostName - this is the name of the server you want to connect to; this argument
has the default value "localhost".
iPort - this is the server port number to which you want to connect; this argument has a
default value of RMBX_SERVICE_PORT, which is originally set to 12345.
strText - this is the buffer containing the message that has to be delivered; this string is limited in length
to the value of the RMBX_MAX_MESSAGE_SIZE constant. Since the lenght of this buffer is separately indicated,
it does not need to be a zero-terminated string, but can contain any character.
iLen - contains the lenght of the message text buffer.
RMBX_MAX_MESSAGE_SIZE
RMBX_MAILBOX_ID_SIZE
Alphabetic index HTML hierarchy of classes or Java