#include <sockets.h>
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()) |
This works much like the implied object created by C++.
|
current position in input buffer This is the LAST character that was processed |
|
current length of inBuf 0 means empty |
|
ipAddr of the remote host [sorry, IP V4 only currently.. :-(] |
|
input buffer
|