I'm no programmer but I've managed to write a few simple scripts and even managed to cobble together some code to read and write to a com port but the whole tcp/ip thing seems WAY over my head.
I've scoured HS' forum but only find partial examples and the majority are for sending data; few for receiving.
What I'm trying to do is connect to a raw socket and listen to all data. Once a given value is found then do X. I can do the later but can't figure out the whole connect, listen, read using tcp/ip and what few examples I can find online are crude in that they don't have a try/reconnect if the socket isn't available.
If someone could help shed some light on this for me and give me a brief walkthrough I'd really appreciate it!
Thanks, M
I've scoured HS' forum but only find partial examples and the majority are for sending data; few for receiving.
What I'm trying to do is connect to a raw socket and listen to all data. Once a given value is found then do X. I can do the later but can't figure out the whole connect, listen, read using tcp/ip and what few examples I can find online are crude in that they don't have a try/reconnect if the socket isn't available.
If someone could help shed some light on this for me and give me a brief walkthrough I'd really appreciate it!
Thanks, M
Comment