TcpUdpEilCommon.cin

Resort enum SocketState. CLOSED is a quite good state, placed it above CONNECTING.
This commit is contained in:
Jonny007-MKD 2014-07-15 12:46:24 +00:00
parent 7704769468
commit fa0c64aa32

View file

@ -11,7 +11,7 @@ variables
char gIpLastErrStr[512] = "";
// The state of the socket will be safed here. This way we can check if we can send/receive packets
enum SocketState { NULL = 100, CONNECTING = 120, OK = 200, ERROR = 0, CLOSED = 20};
enum SocketState {ERROR = 0, NULL = 100, CONNECTING = 120, CLOSED = 140, OK = 200};
enum SocketState gSocketState = NULL;
dword gRemoteIP = INVALID_IP;