sockets TCP in plug&play

I have a program that convert tcp data to rs232,

In my program I only use an port TCP, But I need four port TCP .

I can open more ports TCP in mode TCP server???

You should be able to open up to 128 ports (less a couple that the system uses). So four should be fine. I am assuming that they’ll be listening on different tcp ports?

Hello dakotas_dada!!!

Thank you for you help.

YEs. I will be in listening to four different ports, but also need to send each data in a serial port.

Can I open more than one serial port?. in this case would need open 4 serial ports

According to the manual, I can only use one serial port . But

can I use the GPIO to multiplexer the output of one port serial??