This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/9535] Datagram socket semantics are wrong
- From: "fw at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2003 18:18:57 -0000
- Subject: [Bug ada/9535] Datagram socket semantics are wrong
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9535
fw@gcc.gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |normal
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-05-27 18:18:57
date| |
------- Additional Comments From fw@gcc.gnu.org 2003-05-27 18:18 -------
IMHO, the changes should be made specific to datagram sockets (UDP).
Current semantics are acceptable for stream sockets (TCP) and match
expectations Ada programmers might have about Read/Write operations.
The Write fix seems questionable: The caller cannot know if a packet has
been sent or not.
However, Ada streams are inherently biased towards reliable,
stream-based data transmission. It is quite hard to use them for
anything else.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.