On Jan 20, 2007, at 7:20 PM, List Catcher wrote:


I should have been more clear. My eventual aim is to connect to a remote server, login, send a request, and get the response. I was able to complete a transaction by hand using telnet, so I figured it'd be straight-forward to do the same thing. I wrote a simple Java app to stand in as the remote server for testing. All it does is listen using readln and then print what it gets and respond. Again, using telnet to talk to it works as expected.

My first try was to subclass TCPSocket. I would immediately see the connect on my Java server, and I'd just spin in the RB app, waiting for the connect, but the Connected event would never fire. Since my needs are very simple I then figured I'd just do a synchronous conversation, which is what the example in the language reference happens to demonstrate right up until the part I need :-)

Well, try a socket on a window and fill out the ip, port, and put something in the connected event. If it doesn't fire, then there would seem to be another issue. That should work I would think. Did you put anything in the error event to see if an error occurred?

Kevin
_______________________________________________
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>

Reply via email to