summaryrefslogtreecommitdiff
path: root/comm/Datagram.h
diff options
context:
space:
mode:
Diffstat (limited to 'comm/Datagram.h')
-rw-r--r--comm/Datagram.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/comm/Datagram.h b/comm/Datagram.h
index 3ac6b36..954f1e2 100644
--- a/comm/Datagram.h
+++ b/comm/Datagram.h
@@ -21,9 +21,9 @@
class UchDatagram : public UchSocket {
protected:
pUchAddress FAddr;
+
public:
- UchDatagram ();
- UchDatagram (UchAddress*, UchAddress*);
+ UchDatagram (UchAddress* = 0, UchAddress* = 0);
~UchDatagram ();
UchDatagram (const UchDatagram& d);
UchChannel* Copy () const;
@@ -32,9 +32,9 @@ public:
int Receive (byte*, int);
inline UchAddress* From () { return FAddr; }
int Reply (byte*, int);
- int Send (UchMsgBuffer& b, UchAddress& a, bool = FALSE);
+ int Send (UchMsgBuffer& b, UchAddress& a, bool = false);
int Receive (UchMsgBuffer& b);
- int Reply (UchMsgBuffer& b, bool = FALSE);
+ int Reply (UchMsgBuffer& b, bool = false);
};
#endif /* Datagram_H_ */