int accept(int socket, struct sockaddr *restrict address,socklen_t *restrict address_len);
The accept method receive a listen fd socket and return a conn fd. Of course they are different. But the two socket have the same port, why they are different?
listen method listen connection, if tcp 3 way handshake finished, the socket becomes acceptable. How do the listen socket transfer tcp connection to the new conn fd socket during accept?