summaryrefslogtreecommitdiff
path: root/comm/Stream.h
blob: 3a4282dea332213862b6c32792a44b1e59155a48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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_ */