Can Java ServerSocket and Sockets using ObjectIOStreams lose packets?

Posted by Joel Garboden on Stack Overflow See other posts from Stack Overflow or by Joel Garboden
Published on 2010-04-27T06:48:25Z Indexed on 2010/04/27 6:53 UTC
Read the original article Hit count: 343

Filed under:
|

I'm using a ServerSocket on my server and Sockets that use ObjectIOStreams to send serializable objects over the network connection. I'm developing an essentially more financial version of monopoly and thus packets being sent and confirmed as sent/received is required. Do I need to implement my own packet loss watcher or is that already taken care of with (Server)Sockets?

I'm primarily asking about losing packets during network blips or whatnot, not full connection error. E.g. siblings move a lead plate between my router and computer's wi-fi adapter.

http://code.google.com/p/inequity/source/browse/#svn/trunk/src/network Code can be found under network->ClientController and network->Server

© Stack Overflow or respective owner

Related posts about java

Related posts about networking