|
|
|
@ -42,8 +42,24 @@ TR_INTERFACE(TR_Socket) { |
|
|
|
fptr_TR_socketSend send; |
|
|
|
}; |
|
|
|
|
|
|
|
extern int TR_socketBindAction(void *); |
|
|
|
extern int TR_socketConnectAction(void *); |
|
|
|
inline |
|
|
|
int |
|
|
|
TR_socketBindAction(void * _this) |
|
|
|
{ |
|
|
|
int callret; |
|
|
|
TR_RETCALL(_this, TR_Socket, bind, callret); |
|
|
|
return callret; |
|
|
|
} |
|
|
|
|
|
|
|
inline |
|
|
|
int |
|
|
|
TR_socketConnectAction(void * _this) |
|
|
|
{ |
|
|
|
int callret; |
|
|
|
TR_RETCALL(_this, TR_Socket, connect, callret); |
|
|
|
return callret; |
|
|
|
} |
|
|
|
|
|
|
|
extern TR_RemoteData TR_socketRecv(void *, size_t); |
|
|
|
extern ssize_t TR_socketSend(void *, TR_RemoteData); |
|
|
|
|
|
|
|
|