summaryrefslogtreecommitdiff
path: root/comm/Stream.h
diff options
context:
space:
mode:
authorchatty1993-04-07 11:50:31 +0000
committerchatty1993-04-07 11:50:31 +0000
commitba066c34dde204aa192d03a23a81356374d93731 (patch)
tree39391f6235d2cf8a59a0634ac5ea430cdd21f5d4 /comm/Stream.h
parent05ab076e1c2a9ca16472f9a6b47b8d22914b3783 (diff)
downloadivy-league-ba066c34dde204aa192d03a23a81356374d93731.zip
ivy-league-ba066c34dde204aa192d03a23a81356374d93731.tar.gz
ivy-league-ba066c34dde204aa192d03a23a81356374d93731.tar.bz2
ivy-league-ba066c34dde204aa192d03a23a81356374d93731.tar.xz
Initial revision
Diffstat (limited to 'comm/Stream.h')
-rw-r--r--comm/Stream.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/comm/Stream.h b/comm/Stream.h
new file mode 100644
index 0000000..3a4282d
--- /dev/null
+++ b/comm/Stream.h
@@ -0,0 +1,33 @@
+/*
+ * The Unix Channel
+ *
+ * by Michel Beaudouin-Lafon
+ *
+ * Copyright 1990-1993
+ * Laboratoire de Recherche en Informatique (LRI)
+ *
+ * Streams
+ *
+ * $Id$
+ * $CurLog$
+ */
+
+#ifndef Stream_H_
+#define Stream_H_
+
+#include "cplus_bugs.h"
+#include "Socket.h"
+
+class UchStream : public UchSocket {
+public:
+ UchStream ();
+ UchStream (UchAddress*, UchAddress*);
+ ~UchStream ();
+ UchStream (const UchStream&);
+ UchChannel* Copy () const;
+ int SockType ();
+ int Listen (int = 5);
+ UchSocket* SockAccept ();
+};
+
+#endif /* Stream_H_ */