hikalkan / scs

TCP Server/Client Communication and RMI Framework
MIT License
225 stars 112 forks source link

reset the received memory stream before SerializationException #29

Closed rolphes closed 6 years ago

rolphes commented 6 years ago

Just found out that the received memory stream has to be reset before throwing the SerializationException when the message deserializing went wrong. Otherwise no new messages can be received.

Thanks

hikalkan commented 6 years ago

OK, thanks.