chickadee » chicken » tcp » tcp-listener-port

tcp-listener-port LISTENERprocedure

Returns the port number assigned to LISTENER (If you pass 0 to tcp-listen, then the system will choose a port-number for you).