Removing old build files. NAnt doesn't use them.
[mono.git] / mcs / class / System / System.Net / IPEndPoint.cs
1 //
2 // System.Net.IPEndPoint.cs
3 //
4 // Author:
5 //   Miguel de Icaza (miguel@ximian.com)
6 //
7 // (C) Ximian, Inc.  http://www.ximian.com
8 //
9
10 namespace System.Net {
11
12         public class IPEndPoint : EndPoint {
13                 public IPAddress Address;
14
15                 public const int MaxPort = 65535;
16                 public const int MinPort = 0;
17
18                 private int port;
19                 public int Port {
20                         get {
21                                 return port;
22                         }
23                         set {
24                                 port = value;
25                         }
26                 }
27                 
28                 public IPEndPoint (IPAddress address, int port)
29                 {
30                         Address = address;
31                         Port = port;
32                 }
33                 
34                 public IPEndPoint (long iaddr, int port)
35                 {
36                         IPAddress address = new IPAddress ((uint)iaddr);
37                         
38                         Address = address;
39                         this.port = port;
40                 }
41
42                 public override int AddressFamily {
43                         get {
44                                 return 2;
45                         }
46                 }
47         }
48 }