ron22
Cleared for Takeoff
Anyone here know C#? I have a program I wrote in C# now I need to modify it to send some a command over a TCP connection then receive the reply.
I have never dealt with TCP before and was hoping for some quick help.
I need to send
0000t
Then it will reply
0000*
0000?
0000startPASS#100.0#001#01#0359#0352#-003.8#100.0stop
or
0000*
0000?
0000startFAIL#000.0#000stop
All I need is the Pass/Fail line. I can then pull the data out of the reply I need.
Accualty it will be two differnt IP address I need to send to and pull the data from. But I figure if I can get one I should be able to get the second one working.
I used hyperterminal to get what the responce is.
I have never dealt with TCP before and was hoping for some quick help.
I need to send
0000t
Then it will reply
0000*
0000?
0000startPASS#100.0#001#01#0359#0352#-003.8#100.0stop
or
0000*
0000?
0000startFAIL#000.0#000stop
All I need is the Pass/Fail line. I can then pull the data out of the reply I need.
Accualty it will be two differnt IP address I need to send to and pull the data from. But I figure if I can get one I should be able to get the second one working.
I used hyperterminal to get what the responce is.