Hello, is there any way to know the local port through i'm connected to the server? not $port, thats the remote one... crazy thanks everyone and sorry for my english... blush