diff options
Diffstat (limited to 'comm/Datagram.cc')
-rw-r--r-- | comm/Datagram.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/comm/Datagram.cc b/comm/Datagram.cc index bd1c4ba..e7eb577 100644 --- a/comm/Datagram.cc +++ b/comm/Datagram.cc @@ -3,7 +3,7 @@ * * by Michel Beaudouin-Lafon * - * Copyright 1990-1993 + * Copyright 1990-1997 * Laboratoire de Recherche en Informatique (LRI) * * Datagrams @@ -18,9 +18,9 @@ #include <sys/socket.h> /*?class UchDatagram -A datagram socket can send to and receive from any other datagram socket, -unless it is connected. -Thus, establishing a datagram connection is simple. +A datagram socket can send to and receive from any other datagram +socket, unless it is connected. Thus, establishing a datagram +connection is simple. Datagram sockets are not reliable: messages can be lost, duplicated, or be received in a different order. They keep the message @@ -35,7 +35,8 @@ socket is connected, messages can only be sent to and read from the connected address. The \fun{Read} and \fun{Write} calls can be used in this case. -Before any data can be sent or received, the socket must be set up with \fun{Setup}. +Before any data can be sent or received, the socket must be set up with \fun{Setup}, +or \fun{Open} followed by \fun{Bind} and \fun{Connect} if necessary. ?*/ /*? |