gen_tcp:connect incorrect error message

Sean Hinde Sean.Hinde@REDACTED
Thu Dec 7 17:35:11 CET 2000


Hi,

While debugging a duff bit of my code I found this behaviour:

84>gen_tcp:connect("hostname", 4567, [{packet, asn1}, active]).
{'EXIT',badarg}

The docs suggest I should get {error, Reason} not {'EXIT', Reason}.

- Sean



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




More information about the erlang-questions mailing list