Please put the fencer-endsocket back to spool smoothly, do not just throw it on the piste and let it flip back, that will cause a damage to the pool and may hurt others.
The client end of the socket is created on the machine where the client application is running and given a port, and it then listens on this port for a connection from a server application.
The server end of the socket is created on the machine where the server application is running and given a port, and it then listens on this port for a connection from a client application.