00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00027 #ifndef _RTXSOCKET_H_
00028 #define _RTXSOCKET_H_
00029
00030 #include "rtxsrc/rtxCommon.h"
00031
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035
00036 #if defined (_WIN64)
00037 typedef unsigned __int64 OSRTSOCKET;
00038 #elif defined (_WIN32)
00039 typedef unsigned int OSRTSOCKET;
00040 #else
00041 typedef int OSRTSOCKET;
00042 #endif
00043
00044 #define OSRTSOCKET_INVALID ((OSRTSOCKET)-1)
00045
00056
00061
00082
00095
00110
00120
00137
00148
00159
00168
00185
00199
00213
00227
00232