open 4 ports TCP server mode

hello

I need an example as to open more than 1 TCP port in server mode
Can someone help me please!.

Is this possible?

Hi,
check NET+OS API reference Internetworking->Sockets->Socket API Functions -> IPv6 Examples.

There is IPv6 example for TCP server (it also works for IPv4). This example allows to connect 4 TCP sockets.

Also check
http://en.wikipedia.org/wiki/Berkeley_sockets

Jirka