TcpUdpEilCommon.cin
Resort enum SocketState. CLOSED is a quite good state, placed it above CONNECTING.
This commit is contained in:
parent
7704769468
commit
fa0c64aa32
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue