On Monday, November 24, Paul Oliver wrote:
> Hi all,
>
> I have a curious bug that I've tracked down to a call to
> gen_tcp:controlling_process. From the stack trace (simple example
> reproduced below) it seems that the port in question definitely exists, but
> the call to inet_db:lookup fails. Has anyone seen this before or got any
> advice?
This seems too obvious to be your real problem, but just in case,
the second command isn't handling the return correctly. You probably
meant:
{ok, Sock} = gen_tcp:connect(...
Matt
> _______________________________________________
> erlang-questions mailing list
> erlang-q...@erlang.org
> http://www.erlang.org/mailman/listinfo/erlang-questions
This seems too obvious to be your real problem, but just in case,
the second command isn't handling the return correctly. You probably
meant:
{ok, Sock} = gen_tcp:connect(...
Matt
>
> _______________________________________________