For a chess app I've been working on, I'm passing various types of
information between players by calling remote php scripts, into which
I pass post data, then get back a response based on data stored on the
server.

When testing one of these, I noticed that if I have the script send
back move and game status information using '\n' to separate each
entry, I only get the first line a lot of the time (when in my test
case there should be 5). If, on the other hand, I don't use a line
separator but instead separate entries just using ';' and put
everything on the same line, it "always" worked.

I just wondered what might be causing the unreliability when using
'\n' instead of ';'. I guess for web pages '\n' is just whitespace,
but that should, I would think, still be sent across the web just as
the appropriate ASCII number--i.e., just like everything else.

Any ideas what might be causing this behavior?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to