I'm very new to socket programming:
Is it possible to explicitly set the the source port on a Java Socket?
I am working on a client/server application in which clients could potentially be listening for replies from the server on several ports. It would be nice if I could set this reply port on the client side when initializing the Socket, so that the server would be able to determine which port to reply to on the other side.