This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/345] getsockname returns a value different of zero when successful
- From: "jakub at redhat dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 Sep 2004 13:38:04 -0000
- Subject: [Bug libc/345] getsockname returns a value different of zero when successful
- References: <20040825161035.345.deathwing00@forums.gentoo.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From jakub at redhat dot com 2004-09-21 13:38 -------
/tmp/gso www.google.com 80; echo $?
gethostname OK
socket OK
connect OK
getsockname Success
EXITING
0
strace -e getsockname /tmp/gso www.google.com 80 > /dev/null
getsockname(4, {sa_family=AF_INET, sin_port=htons(33134),
sin_addr=inet_addr("195.113.19.62")}, [22560191895568400]) = 0
strace -e getsockname /tmp/gso www.google.com 80 > /dev/null
getsockname(4, {sa_family=AF_INET, sin_port=htons(33134),
sin_addr=inet_addr("195.113.19.62")}, [22560191895568400]) = 0
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=345
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.