Main Page | Compound List | File List | Compound Members | File Members | Related Pages

sbSockObject Struct Reference

The socket object. More...

#include <sockets.h>

List of all members.

Public Attributes

srObjID OID
 object ID

srRetVal iLastErr
 last error code from liblogging - mostly used in cases where a pointer is returned

SR_SOCKET sock
 the actual socket

int bIsInError
 was there an error in this layer?

int dwLastError
 last error code reported by stack

char szInBuf [SOCKETMAXINBUFSIZE]
 input buffer

int iCurInBufPos
 current position in input buffer

int iInBufLen
 current length of inBuf

fd_set fdset
 this may not be portable on some exotic OS, but so far I have no better idea to hide it..

sockaddr_in RemoteHostAddr
 ipAddr of the remote host [sorry, IP V4 only currently..

char * pRemoteHostIP
 IP address of the remote host connected to this socket.

int iRemHostIPBufLen
 strlen()+ 1 of the remote host IP address (for malloc())


Detailed Description

The socket object.

This works much like the implied object created by C++.


Member Data Documentation

int sbSockObject::iCurInBufPos
 

current position in input buffer

This is the LAST character that was processed

int sbSockObject::iInBufLen
 

current length of inBuf

0 means empty

struct sockaddr_in sbSockObject::RemoteHostAddr
 

ipAddr of the remote host [sorry, IP V4 only currently..

:-(]

char sbSockObject::szInBuf[SOCKETMAXINBUFSIZE]
 

input buffer

See also:
SOCKETMAXINBUFSIZE for details.


The documentation for this struct was generated from the following file:
Generated on Mon Oct 3 12:29:57 2005 for liblogging by doxygen 1.3.2