I would like to establish a TCP to UART (and back the other way) connection on a Raspberry Pi. This is to connect and establish communication from a computer to an XBee radio. I have accomplished this in about 3 ways but have never been able to establish multiple TCP connections properly. If I do the UART data will get split between the two (or more) connections. If anyone has any experience with this please let me know if you have any ideas.
I would also like to have a configuration webpage served up by the PI. I have gone through some tutorials but just have to put in more work. If anyone has a full working example I can tweak that would be nice too.
Any help will be greatly appreciated.
Thank you, Rob