Re: [xSocket-develop] Simple Server Sometimes Seeing Data Corruption on Client Side
Status: Inactive
Brought to you by:
grro
|
From: Gregor R. <gre...@go...> - 2008-05-03 07:43:14
|
Hi Rod, would you please submit this as a bug ( http://sourceforge.net/tracker/?atid=850942&group_id=169583). Please also add a junit test, which contains the essential xSocket-related part of your client and server-side code. Thanks Gregor 2008/5/3 Rod Magnuson <rod...@gm...>: > I've got a simple server that sends/receives null terminated Strings > to/from a flash based client. > > Flush mode is async. > > I'm using the 2.0 final jar. > > I'm seeing times when the client is receiving mangled data. The length of > the data is correct, just some of the contents are wrong. This does not > happen often and is hard to reproduce. When it does happen other clients > receive the correct data. > > I write out the messages with: > > String END_OF_MESSAGE_DELIM = new String(new char[] { 0 }); > connection.write(message + END_OF_MESSAGE_DELIM); > connection.flush(); > > It could be either client or server. Ideas on how to disqualify the > server? > > Thanks, > Rod > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > > |