HI all.

Here is my scenario.

I connect to a server as a client using a TTCPBlockSocket. Once I am
connected I send it a command (plain text) to initiate the login.

Once I am logged into the waiting service on the server, I receive data from
the server at intermittent intervals. It is once again just plain text data.

At the same time, I also need to be able to send commands to tell the
service to do something.

In a nut shell, I need something that's once connected, sits in a loop
listing for data, passes that data to an event so I can decided if I need to
act on the data receive, and if so, I need to send a command.

 

I am not sure how I would go about doing this. I am guessing I would need a
thread for the listening? Any help appreciated

 

Thanks Jeremy

 

 

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to