U2: handle TCP Disconnect.
This commit is contained in:
parent
10e769735a
commit
ffa5a35ba8
2 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
|||
#define SN_CR_OPEN 0x01
|
||||
#define SN_CR_LISTENT 0x02
|
||||
#define SN_CR_CONNECT 0x04
|
||||
#define SN_CR_DISCON 0x08
|
||||
#define SN_CR_CLOSE 0x10
|
||||
#define SN_CR_SEND 0x20
|
||||
#define SN_CR_RECV 0x40
|
||||
|
|
|
@ -669,6 +669,7 @@ namespace
|
|||
connectSocket(i);
|
||||
break;
|
||||
case SN_CR_CLOSE:
|
||||
case SN_CR_DISCON:
|
||||
closeSocket(i);
|
||||
break;
|
||||
case SN_CR_SEND:
|
||||
|
|
Loading…
Add table
Reference in a new issue