gen_tcp question

DANIESC SCHUTTE <>
Fri Oct 18 15:26:03 CEST 2002


This may be stupid, but i can not find a suitable answer in the faq's or the manuals.  

Executing the server code as is provided in the manual, works fine the first time, but the second time I execute it - I get an badmatch address in use error,  re-executing the code for the third time however and it works fine.

The port is being closed in the code - am I just doing something stupid or missing the obvious?

Thanks to everyone for their help

Danie Schutte
Phone: +27 - 11 - 203 - 1614
Mobile: 083-268-3138
e-Mail: 

#####################################################################################
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy and copies.
#####################################################################################
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: TEXT.htm
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20021018/b2aa2931/attachment.ksh>


More information about the erlang-questions mailing list