2014-05-08 16:44:01 +02:00
|
|
|
/*@!Encoding:1252*/
|
|
|
|
|
|
|
|
variables
|
|
|
|
{
|
|
|
|
const long WSA_IO_PENDING = 997;
|
|
|
|
const long WSAEWOULDBLOCK = 10035;
|
|
|
|
const dword INVALID_IP = 0xffffffff;
|
|
|
|
|
|
|
|
long gIpLastErr = 0;
|
|
|
|
char gIpLastErrStr[512] = "";
|
|
|
|
|
|
|
|
enum SocketState { NULL, OK, ERROR, CLOSED };
|
2014-05-09 15:49:19 +02:00
|
|
|
enum SocketState gSocketState = NULL;
|
2014-05-08 16:44:01 +02:00
|
|
|
|
2014-05-21 12:55:57 +02:00
|
|
|
dword gRemoteIP = INVALID_IP;
|
2014-05-09 15:49:19 +02:00
|
|
|
word gRemotePort = 0;
|
2014-05-21 13:26:45 +02:00
|
|
|
|
|
|
|
byte gRxBuffer[8192];
|
2014-05-08 16:44:01 +02:00
|
|
|
}
|
|
|
|
|