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 14:05:58 -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 14:05 -------
Still doesn't fail.
strace -e getsockname /tmp/gso2 www.google.com 80; echo $?
gethostname OK
socket OK
connect OK
getsockname(3, {sa_family=AF_INET, sin_port=htons(33139),
sin_addr=inet_addr("195.113.19.62")}, [22560191895568400]) = 0
getsockname Success
getsockname: 195.113.19.62:33139
getpeername Success
getpeername: 216.239.59.147:80
EXITING
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.