For example, my server is listening on port 1234 and in same PC(host) 2 clients bind two sockets on ports(2000, 3000). Next, 2 clients connect to my server and my server will make client sockets for each clients.. When 2 sockets are accepted on server, 2 client sockets are created. I want to know when 2 sockets are created on server, does these sockets occupy two ports?
When I saw packet in WireShark, packets to server showed me same port(server's listening port).
Can I say that only listening socket occupies the port because of internal multiplexing? *If I am wrong, how do I check whether new client sockets occupy port? (netstat command didn't show me new ports)