Openning a listening and client TCP socket at the same time?


#1

is it possible to open a listening and client TCP socket at the same time?

I searched in edlib documents but I couldn’t saw any statement about this subject

modem :Q2406B
GCC compiler
Open AT 3.02

Thanks in advance


#2

Hi Piedos,
Sorry for the delayed reply. It is of course possible to open a listening and a client TCP socket at the same time using Open-AT version 3.02.
You can Open 10 such sockets. The “TeDHandle” parameter (for eg ED_ID_TCPSOCKET_1 etc) will determine that data for which of the socket has arrived.

Please refer to the TCP/IP user guide for more information.

Best Regards,
Open AT Fan.