blob: 5e1d81f98dcbe49d3168c9e0659cebc110a70b19 (
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
|
//
// System.Net.EndPoint.cs
//
// Author:
// Dick Porter (dick@ximian.com)
//
// (C) Ximian, Inc. http://www.ximian.com
//
using System.Net.Sockets;
namespace System.Net {
[Serializable]
public abstract class EndPoint {
// NB: These methods really do nothing but throw
// NotSupportedException
public virtual AddressFamily AddressFamily {
get {
throw new NotSupportedException();
}
}
public virtual EndPoint Create (SocketAddress address)
{
throw new NotSupportedException();
}
public virtual SocketAddress Serialize ()
{
throw new NotSupportedException();
}
protected EndPoint ()
{
}
}
}
|