chickadee » tcp6 » tcp-port-numbers

tcp-port-numbers PORTprocedure

Returns two values for the input- or output-port PORT (which should be a port returned by either tcp-accept or tcp-connect): the TCP port numbers of the local and the remote machine that are connected over the socket associated with PORT.