Ask Your Question
1

Is it possible for two separate sockets to use the same port in TCP?

asked 2023-06-17 12:46:06 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-06-17 12:47:02 +0000

huitzilopochtli gravatar image

No, it is not possible for two separate sockets to use the same port in TCP. Each socket must have a unique combination of IP address and port number to identify it. If two sockets use the same IP address and port number, the operating system will not be able to distinguish between the two and communication will fail.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-17 12:46:06 +0000

Seen: 11 times

Last updated: Jun 17 '23