Posted on 2009-02-16 03:16:15-08 by ravishankar
communicating with a
Hi, I have a "simulated device" in the form of windows executable. I don't have any details of the executable (i.e. the API's). A client program exists (again, a windows executable) which connects to the server and gets the response. My issue is, I need to write my own client in TCL which connects to the server and receives the response. I tried to create a socket connection to the server, send some dummy message and then, read the response back from the server. Connection gets established and the server responds with some message (which, I verified using ethereal, although it did not make sense). However, I was not able to "capture" the message sent by the server (I used gets) How can I capture the response from the server in my TCL client? Stuck at this issue badly.. :( Thanks in advance for the help. Ravi.
Direct Responses: 9971 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.