This is the mail archive of the glibc-bugs@sourceware.org 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 manual/1983] socket(s, 1) said to discard sent data


http://sourceware.org/bugzilla/show_bug.cgi?id=1983

herefishy <a.herefishyfishies at yahoo dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a.herefishyfishies at yahoo
                   |                            |dot com

--- Comment #3 from herefishy <a.herefishyfishies at yahoo dot com> 2012-08-28 22:17:09 UTC ---
I am not so sure the manual is wrong, especially for a remote socket vs. on on
the LAN. 

Please refer to my bug report, with sample client and server code.  By actual
test it demonstrates that, at least for data sizes around 4K bytes, data is
lost unless the connection is deliberately held open by a sleep(1) before
close(socket). This was the case for Linux/CentOS but not Solaris, and was MUCH
more prone to happen on a remote host but not as often (very rarely) on the
local LAN. 

http://sourceware.org/bugzilla/show_bug.cgi?id=14500

Examples and statistics are included with the above linked bug report.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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