After connected:
FSocket::GetConnectionState() == SCS_Connected
Always… even if remote is disconnected already.
FSocket support for disconnect detection?
After connected:
FSocket::GetConnectionState() == SCS_Connected
Always… even if remote is disconnected already.
FSocket support for disconnect detection?
I’ve read other similar topics, and i think, FSocket doesnt have any disconnect semantics. Like Poll or Recv(0).
So i have to detect disconnect myself, by checking last recv timeout. Or by receiving my own disconnect packet with own “ID”.
Then call FSocket::Close().