U2: handle TCP Disconnect.

This commit is contained in:
Andrea Odetti 2021-05-09 19:49:40 +01:00
parent 10e769735a
commit ffa5a35ba8
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -669,6 +669,7 @@ namespace
connectSocket(i);
break;
case SN_CR_CLOSE:
case SN_CR_DISCON:
closeSocket(i);
break;
case SN_CR_SEND: