Receiving result back from TCP
Posted: Wed Sep 19, 2012 3:52 am
This seems like a simple one, but I am not getting anywhere.
I am using a plugin I created (I think I created it**....Based on Network Event Sender, it has been a couple years) that is simple, it sends a string to a TCP server. It works as expected. I am now trying to read the results that the TCP server sends back based on what string command was sent. I am not getting anywhere. here is what I need to happen:
1. Send a string to a TCP server, TCP server sends back a string result. (Working)
2. Retrieve the result (No idea how to do this)
3. If I can make #2 above happen, parse the string result to retrieve info I need from that result, using Python I assume.
4. Use the parsed string for further automation.
#2 is where I am stuck. I assume I may somehow need to modify the plugin that is sending the string to the TCP server in step #1?
Hope this makes sense, any help would be appreciated!
**BTW - I may be WAY wrong on thinking I created the plugin. I know a few years back I was trying to use a base and create/modify an existing network plugin, just not sure at all
I am using a plugin I created (I think I created it**....Based on Network Event Sender, it has been a couple years) that is simple, it sends a string to a TCP server. It works as expected. I am now trying to read the results that the TCP server sends back based on what string command was sent. I am not getting anywhere. here is what I need to happen:
1. Send a string to a TCP server, TCP server sends back a string result. (Working)
2. Retrieve the result (No idea how to do this)
3. If I can make #2 above happen, parse the string result to retrieve info I need from that result, using Python I assume.
4. Use the parsed string for further automation.
#2 is where I am stuck. I assume I may somehow need to modify the plugin that is sending the string to the TCP server in step #1?
Hope this makes sense, any help would be appreciated!
**BTW - I may be WAY wrong on thinking I created the plugin. I know a few years back I was trying to use a base and create/modify an existing network plugin, just not sure at all