On Jan 20, 2007, at 6:44 PM, List Catcher wrote:
I have a simple server I've written in Java, and I'm trying to get
an RB application to talk to it. I'm following the TCPSocket
example in the language reference. I get connected, and try to send
a message to the server using TCPSocket.Write, but it doesn't
complete until I close the socket. I don't want to do that, of
course, I want to synchronously exchange some messages first.
Not even flush helps, so I figure I must not be terminating the
line properly, but I can't figure it out. If I Write a second line
then the first line shows up. Below is the code:. (The EOL is a try
I added when it didn't work)
EndOFLine, especially for text-based network protocols, are often
CRLF, or Chr(13) + Chr(10). I don't see any obvious errors with your
code other than this possibility.
HTH,
Jon
--
Jonathan Johnson
[EMAIL PROTECTED]
REAL Software, Inc.
REAL World 2007 Conference
May 9 - 11 in Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>