summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchatty2000-11-28 17:07:44 +0000
committerchatty2000-11-28 17:07:44 +0000
commita4cc3cbacb73e83952eb6a0975c97fcf43a79179 (patch)
tree7a3b5cea0e5fc537281e79747dcb44b8da24c566
parent79b01a9f6289424502115c88f1027d24587fc742 (diff)
downloadivy-league-a4cc3cbacb73e83952eb6a0975c97fcf43a79179.zip
ivy-league-a4cc3cbacb73e83952eb6a0975c97fcf43a79179.tar.gz
ivy-league-a4cc3cbacb73e83952eb6a0975c97fcf43a79179.tar.bz2
ivy-league-a4cc3cbacb73e83952eb6a0975c97fcf43a79179.tar.xz
Removed smart(ie)s
-rw-r--r--comm/Datagram.cc11
-rw-r--r--comm/Datagram.h6
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 <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.
?*/
/*?
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);