tag:blogger.com,1999:blog-2278918000890153082.post4900452100259115310..comments2023-02-27T21:30:33.541+05:30Comments on iNerd: Understanding java.io.StreamCorruptedException: invalid type code: ACAnonymoushttp://www.blogger.com/profile/09339849640565346042noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-2278918000890153082.post-37876964642522043372013-01-19T23:46:05.367+05:302013-01-19T23:46:05.367+05:30you are welcomeyou are welcomeAnonymoushttps://www.blogger.com/profile/09339849640565346042noreply@blogger.comtag:blogger.com,1999:blog-2278918000890153082.post-57632429473809881312013-01-18T18:25:06.606+05:302013-01-18T18:25:06.606+05:30You just saved me a lot of stress and worry. Thank...You just saved me a lot of stress and worry. Thanks, I appreciate it.Leyehttps://www.blogger.com/profile/04642847800288250106noreply@blogger.comtag:blogger.com,1999:blog-2278918000890153082.post-26267777634096180842012-12-29T18:17:43.820+05:302012-12-29T18:17:43.820+05:30Sorry for the late response, as i was busy with my...Sorry for the late response, as i was busy with my examz in order to help you i need to know what exactly you are trying to accomplish and what is the problem in your algorithm, without the very details i can't help. Just saying that code is throwing an exception is not just enough.<br /><br />If you wanna share your problem than drop me a mail.<br />byeAnonymoushttps://www.blogger.com/profile/09339849640565346042noreply@blogger.comtag:blogger.com,1999:blog-2278918000890153082.post-53562103478698770852012-11-29T20:20:25.190+05:302012-11-29T20:20:25.190+05:30I have similar problem throwing this exception. I ...I have similar problem throwing this exception. I am implementing chat client. Client has to subscribe on server, this is fine. In case that other clients log in, I want the server to notify all already logged clients about this fact(to display new client in client list). <br /><br />This means, that I need loop on server to listen to events from client, and loop on client to listen for events fired from server. Is there a way how to accomplish this using only one socket? Because if I do it, I get exactly this exception - I have ObjectOutputStream and ObjectInputStream on both client and server, which is the cause. Clearly I cannot use same instance of these streams on both sides.<br /><br />Only way left to go is to open second socket, but I would like to avoid it. Any ideas? ThanksAnonymousnoreply@blogger.com