Using same port for Server and Client

Is it possible to use same port for both the server and client. that is what i mean is if a client connects to the server at port 2332 then server will randomly assign an port, using this port server and client will communicate with each other. Hear, wht i need is i want that randomly assigned port also to same as listen port.
Basically i need this for NAT implementation
[377 byte] By [bala_7272] at [2008-1-25]
# 1

You can bind the client to use a fixed port via the Winsock bind() call prior to connecting, assuming no other process is currently using that port on the system.

GlennDavis at 2007-9-8 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...