| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- //
- // System.Net.SocketAddress.cs
- //
- // Author:
- // Miguel de Icaza ([email protected])
- //
- // (C) Ximian, Inc. http://www.ximian.com
- //
- namespace System.Net {
- public class SocketAddress {
- short family;
- int size;
-
- public SocketAddress (short family, int size)
- {
- this.family = family;
- this.size = size;
- }
- public SocketAddress (short family)
- {
- this.family = family;
- }
-
- public short Family {
- get {
- return family;
- }
- }
- public int Size {
- get {
- return size;
- }
- }
- [MonoTODO]
- public byte this [ int offset ] {
- get {
- // FIXME; Unimplemented.
- return 0;
- }
- set {
- // FIXME: Unimplemented.
- }
- }
- }
- }
|