localhost udp bind: address in use

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

 



I have some complex multi-thread C++ code in which I do
some internal signaling with udp sockets:
snd: 127.0.0.1:6501
rcv: 127.0.0.1:6502

On my new F15_64 box, I usually get:
errno=98=Address already in use
in response to the bind command when I bring up the snd
socket (which is first up) even when I just come up from
power off.

Rarely, it works. I have no idea why.

If I ignore the 98 error, I get a write error on the socket.

Even when it fails,
netstat -uap
shows the socket, which is not a surprise, and it
is not there when the program is not up.

Now on my old CentOS 5_32 box, the same code
(but, of course, compiled for 32) works with no
problem. I can start and stop it rapidly with no
problem.

Thanks for your suggestions.
Mike. 
--
Michael D. Berger
m.d.berger@xxxxxxxx
http://www.rosemike.net/
 

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux