[erlang-questions] gen_tcp:connect/3 and ** exited: badarg **

Tomasz Blachowicz <>
Thu Oct 4 01:51:47 CEST 2007


Hi,

I've been having problem when I try to call gen_tcp:connect/3
function. It returns immediately with output that says: '** exited:
badarg **'.

In erlang shell it is:

1> gen_tcp:connect("www.erlang.org", 80, [binary, {pocket, 0}]).
** exited: badarg **

Any ideas?

Regards,
Tom



More information about the erlang-questions mailing list