This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/345] getsockname returns a value different of zero when successful


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]