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


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