Hi Dear, Try this
Bind your server on a particular MainPort say 5000,
now the client will request on this port and in the response client will get a new port say 5001-Here you will have to do two...