When a server receives a WSAECONNABORTED from a device (coming in from a send()
), should a connection be re-established and data re-sent or should the server bail out and drop the connection?
Thanks.
When a server receives a WSAECONNABORTED from a device (coming in from a send()
), should a connection be re-established and data re-sent or should the server bail out and drop the connection?
Thanks.
The connection is already dropped, there is nothing to bail from. And there is nothing you can re-send on. Drop all state associated with connection, compensate any incomplete operation, return all resources to their pools, prepare for a new connection from a client.