ssl:listen/2, ssl:port/1: docs vs reality

Magnus Henoch magnus@REDACTED
Mon Sep 7 16:11:31 CEST 2009


Hi,

In R13B01, the documentation for ssl:listen/2 says:

> Sets up a socket to listen on port Port at the local host. If Port is
> zero, listen/2 picks an available port number (use port/1 to retreive
> it).

However, ssl:port/1 was removed in R13, so the documentation should
probably be updated.

Also, what is the new recommended way to get the port number from an SSL
listening socket?

Magnus


More information about the erlang-questions mailing list