gets the remote port to which this socket is connected . concode_field_sep Socket socket concode_field_sep int getLocalPort concode_elem_sep IpAddress getAddress concode_elem_sep OutputStream getOutputStream concode_elem_sep int getSoTimeout concode_elem_sep void setSoTimeout concode_elem_sep String toString concode_elem_sep void close concode_elem_sep InputStream getInputStream concode_elem_sep IpAddress getLocalAddress
int function ( ) { return socket . getPort ( ) ; }