Closing an UDP socket should wake all blocked recv()
This commit is contained in:
@@ -965,6 +965,8 @@ status_t
|
||||
UdpEndpoint::Close()
|
||||
{
|
||||
TRACE_EP("Close()");
|
||||
fSocket->error = EBADF;
|
||||
WakeAll();
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user