[erlang-questions] inet:getopts

David Mercer dmercer@REDACTED
Wed Aug 8 18:06:04 CEST 2007

I can never get any good response out of inet:getopts/2:


1> S = gen_tcp:connect("localhost", 1210, [{active, once}]).


2> inet:getopts(S, [active]).                               


=ERROR REPORT==== 8-Aug-2007::10:36:53 ===

Error in process <0.62.0> with exit value:




** exited:



                             {shell,eval_loop,3}]} **


I have confirmed that I am successfully making the connection.  What am I
doing wrong?  I do not understand the error report.  Please advise.


David Mercer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070808/93326128/attachment.htm>

More information about the erlang-questions mailing list