tcpsocket src port

Hi,

is there a way, when i connect to a tcp server, to define a src port like this linux command:

nc -p 1200 mail.test.at 25 (1200 is the src port, 25 the destination port).

Thanks!

Regards
Thomas