summaryrefslogtreecommitdiff
path: root/comm/UnixAddress.h
blob: d21b6195ef0b759aa968dcea8f575dc5d26246dc (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
34
35
36
37
38
39
40
41
42
43
/*
 *	The Unix Channel
 *
 *	by Michel Beaudouin-Lafon
 *
 *	Copyright 1990-1997
 *	Laboratoire de Recherche en Informatique (LRI)
 *
 *	Unix Addresses
 *
 *	$Id$
 *	$CurLog$
 *	Created from Address.h
 */

#ifndef UnixAddress_H_
#define UnixAddress_H_

#include "cplus_bugs.h"
#include "error.h"
#include "Address.h"



class IvlUnixAddress : public IvlAddress {
protected:
	struct sockaddr_un	Addr;

public:
		IvlUnixAddress ();
		IvlUnixAddress (const char*);
		~IvlUnixAddress ();
	
	int		Family ();
	int		Length ();
	SockAddr*	GetSockAddr ();
	char*		StrRepr (char* buf);
};




#endif	/* UnixAddress_H_ */