[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [rtl] Off Topic - Ethernet releasing port addresses




Hi Janet,

read the Socket FAQ (http://www.faqs.org/faqs/unix-faq/socket/), especially
paragraphs 4.1, 2.7 and 4.5. They might explain what you are seeing and offer a
solution (4.5) to your problem.

HTH
Stefan

>Hi,
>
>I'm using RTLV2.3 and kernel 2.2.14.  I will most likely upgrade everything
>to the newer versions, but not until the test system is accepted by the
>customer and that could be 3 months from now.
>
>I have miniRTL on 8 embedded machines 2 other Linux PC's and 3 Windows
>machines on a local network.  I have both real-time modules running on my
>linux PC's and user space applications.  Specifically, the user space
>applications send information to the Windows machines via ethernet socket
>code.  I have a set of defined port numbers that the information uses.
>
>My problem is that sometimes when I know I have closed the code out and I
>restart it I get the message
>
>Unable to establish a port Connection:  Address already in use.
>
>And sometimes I have to re-boot a linux computer to get rid of this message
>so I can run my code.  It might be something I am doing but I have been
>seeing this for months now and I haven't come up with a solution.
>
>Any help, ideas, would be greatly appreciated..