mscorlib(4.0.0.0) API with additions
|
Stores serialized information from T:System.Net.EndPoint derived classes. More...
Public Member Functions | |
SocketAddress (AddressFamily family) | |
Creates a new instance of the T:System.Net.SocketAddress class for the given address family. More... | |
SocketAddress (AddressFamily family, int size) | |
Creates a new instance of the T:System.Net.SocketAddress class using the specified address family and buffer size. More... | |
override bool | Equals (object comparand) |
Determines whether the specified Object is equal to the current Object . More... | |
override int | GetHashCode () |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. More... | |
override string | ToString () |
Returns information about the socket address. More... | |
Properties | |
AddressFamily | Family [get] |
Gets the T:System.Net.Sockets.AddressFamily enumerated value of the current T:System.Net.SocketAddress. More... | |
int | Size [get] |
Gets the underlying buffer size of the T:System.Net.SocketAddress. More... | |
byte | this[int offset] [get, set] |
Gets or sets the specified index element in the underlying buffer. More... | |
Stores serialized information from T:System.Net.EndPoint derived classes.
Definition at line 9 of file SocketAddress.cs.
System.Net.SocketAddress.SocketAddress | ( | AddressFamily | family | ) |
Creates a new instance of the T:System.Net.SocketAddress class for the given address family.
family | An T:System.Net.Sockets.AddressFamily enumerated value. |
Definition at line 85 of file SocketAddress.cs.
System.Net.SocketAddress.SocketAddress | ( | AddressFamily | family, |
int | size | ||
) |
Creates a new instance of the T:System.Net.SocketAddress class using the specified address family and buffer size.
family | An T:System.Net.Sockets.AddressFamily enumerated value. |
size | The number of bytes to allocate for the underlying buffer. |
T:System.ArgumentOutOfRangeException | size is less than 2. These 2 bytes are needed to store family . |
Definition at line 96 of file SocketAddress.cs.
override bool System.Net.SocketAddress.Equals | ( | object | comparand | ) |
Determines whether the specified Object
is equal to the current Object
.
comparand | The T:System.Object to compare with the current Object . |
Definition at line 196 of file SocketAddress.cs.
override int System.Net.SocketAddress.GetHashCode | ( | ) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
Definition at line 216 of file SocketAddress.cs.
override string System.Net.SocketAddress.ToString | ( | ) |
Returns information about the socket address.
Definition at line 246 of file SocketAddress.cs.
|
get |
Gets the T:System.Net.Sockets.AddressFamily enumerated value of the current T:System.Net.SocketAddress.
Definition at line 31 of file SocketAddress.cs.
|
get |
Gets the underlying buffer size of the T:System.Net.SocketAddress.
Definition at line 43 of file SocketAddress.cs.
|
getset |
Gets or sets the specified index element in the underlying buffer.
offset | The array index element of the desired information. |
T:System.IndexOutOfRangeException | The specified index does not exist in the buffer. |
Definition at line 57 of file SocketAddress.cs.