Go to the source code of this file.
|
OSErr | MacSocket_Startup (void) |
|
OSErr | MacSocket_Shutdown (void) |
|
OSErr | MacSocket_socket (int *outSocketNum, const Boolean inDoThreadSwitching, const long inTimeoutTicks, MacSocket_IdleWaitCallback inIdleWaitCallback, void *inUserRefPtr) |
|
OSErr | MacSocket_connect (const int inSocketNum, char *inTargetAddressAndPort) |
|
OSErr | MacSocket_listen (const int inSocketNum, const int inPortNum) |
|
OSErr | MacSocket_close (const int inSocketNum) |
|
int | MacSocket_recv (const int inSocketNum, void *outBuff, int outBuffLength, const Boolean inBlock) |
|
int | MacSocket_send (const int inSocketNum, const void *inBuff, int inBuffLength) |
|
Boolean | MacSocket_RemoteEndIsClosing (const int inSocketNum) |
|
Boolean | MacSocket_ListenCompleted (const int inSocketNum) |
|
Boolean | MacSocket_LocalEndIsOpen (const int inSocketNum) |
|
Boolean | MacSocket_RemoteEndIsOpen (const int inSocketNum) |
|
void | MacSocket_SetUserRefPtr (const int inSocketNum, void *inNewRefPtr) |
|
void | MacSocket_GetLocalIPAndPort (const int inSocketNum, char *outIPAndPort, const int inIPAndPortLength) |
|
void | MacSocket_GetRemoteIPAndPort (const int inSocketNum, char *outIPAndPort, const int inIPAndPortLength) |
|
void | MacSocket_GetSocketErrorInfo (const int inSocketNum, int *outSocketErrCode, char *outSocketErrString, const int inSocketErrStringMaxLength) |
|
typedef OSErr(* MacSocket_IdleWaitCallback)(void *) |
OSErr MacSocket_close |
( |
const int |
inSocketNum | ) |
|
OSErr MacSocket_connect |
( |
const int |
inSocketNum, |
|
|
char * |
inTargetAddressAndPort |
|
) |
| |
void MacSocket_GetLocalIPAndPort |
( |
const int |
inSocketNum, |
|
|
char * |
outIPAndPort, |
|
|
const int |
inIPAndPortLength |
|
) |
| |
void MacSocket_GetRemoteIPAndPort |
( |
const int |
inSocketNum, |
|
|
char * |
outIPAndPort, |
|
|
const int |
inIPAndPortLength |
|
) |
| |
void MacSocket_GetSocketErrorInfo |
( |
const int |
inSocketNum, |
|
|
int * |
outSocketErrCode, |
|
|
char * |
outSocketErrString, |
|
|
const int |
inSocketErrStringMaxLength |
|
) |
| |
OSErr MacSocket_listen |
( |
const int |
inSocketNum, |
|
|
const int |
inPortNum |
|
) |
| |
Boolean MacSocket_ListenCompleted |
( |
const int |
inSocketNum | ) |
|
Boolean MacSocket_LocalEndIsOpen |
( |
const int |
inSocketNum | ) |
|
int MacSocket_recv |
( |
const int |
inSocketNum, |
|
|
void * |
outBuff, |
|
|
int |
outBuffLength, |
|
|
const Boolean |
inBlock |
|
) |
| |
Boolean MacSocket_RemoteEndIsClosing |
( |
const int |
inSocketNum | ) |
|
Boolean MacSocket_RemoteEndIsOpen |
( |
const int |
inSocketNum | ) |
|
int MacSocket_send |
( |
const int |
inSocketNum, |
|
|
const void * |
inBuff, |
|
|
int |
inBuffLength |
|
) |
| |
void MacSocket_SetUserRefPtr |
( |
const int |
inSocketNum, |
|
|
void * |
inNewRefPtr |
|
) |
| |
OSErr MacSocket_Shutdown |
( |
void |
| ) |
|
OSErr MacSocket_socket |
( |
int * |
outSocketNum, |
|
|
const Boolean |
inDoThreadSwitching, |
|
|
const long |
inTimeoutTicks, |
|
|
MacSocket_IdleWaitCallback |
inIdleWaitCallback, |
|
|
void * |
inUserRefPtr |
|
) |
| |
OSErr MacSocket_Startup |
( |
void |
| ) |
|