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.
Asked: 2023-06-17 12:46:06 +0000
Seen: 11 times
Last updated: Jun 17 '23