From ba066c34dde204aa192d03a23a81356374d93731 Mon Sep 17 00:00:00 2001 From: chatty Date: Wed, 7 Apr 1993 11:50:31 +0000 Subject: Initial revision --- comm/Stream.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 comm/Stream.h (limited to 'comm/Stream.h') 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_ */ -- cgit v1.1