xiaoshua / junixsocket

Automatically exported from code.google.com/p/junixsocket
0 stars 0 forks source link

accept() does not throw SocketException on close() #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The ServerSocket JavaDocs state that 

"Closes this socket. Any thread currently blocked in accept() will throw a 
SocketException."

However, the junixsocket implementation of accept() does seem to implement this 
behavior.

Original issue reported on code.google.com by geoffrey...@logicblox.com on 23 Aug 2012 at 12:21

GoogleCodeExporter commented 9 years ago
see http://code.google.com/p/junixsocket/issues/detail?id=6

Original comment by ckkohl79 on 30 Nov 2014 at 12:33