What is the minimum number of socket port(s) required for a TCP server?

Posted by Gwilym on Stack Overflow See other posts from Stack Overflow or by Gwilym
Published on 2010-05-25T17:56:57Z Indexed on 2010/05/25 18:01 UTC
Read the original article Hit count: 182

Filed under:
|

Hey SO

Doing a some practice questions for exam tomorrow can't figure out this one

What is the minimum number of socket port(s) required for a TCP server to connect a TCP client for communication?

Surely its just two right? one for the server one for the client, but this seems to obvious. My mates thinks TCP uses two ports at the server end for for data in and one for data out.

thanks in advance

© Stack Overflow or respective owner

Related posts about tcp

Related posts about ports