From a4cc3cbacb73e83952eb6a0975c97fcf43a79179 Mon Sep 17 00:00:00 2001 From: chatty Date: Tue, 28 Nov 2000 17:07:44 +0000 Subject: Removed smart(ie)s --- comm/Datagram.cc | 11 ++++++----- comm/Datagram.h | 6 ++++-- 2 files changed, 10 insertions(+), 7 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 /*?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. ?*/ /*? diff --git a/comm/Datagram.h b/comm/Datagram.h index 954f1e2..cc7798f 100644 --- a/comm/Datagram.h +++ b/comm/Datagram.h @@ -3,7 +3,7 @@ * * by Michel Beaudouin-Lafon * - * Copyright 1990-1993 + * Copyright 1990-1997 * Laboratoire de Recherche en Informatique (LRI) * * Datagrams @@ -16,11 +16,13 @@ #define Datagram_H_ #include "cplus_bugs.h" +#include "ccu/bool.h" +#include "ccu/word.h" #include "Socket.h" class UchDatagram : public UchSocket { protected: - pUchAddress FAddr; + UchAddress* FAddr; public: UchDatagram (UchAddress* = 0, UchAddress* = 0); -- cgit v1.1