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.