|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||
Class that represents a UDP datagram, from Microsoft's NetSamples source
| Field Summary | |
|---|---|
| int | available |
| byte[] | data |
| System.Net.EndPoint | endpoint |
| Constructor Summary | |
|---|---|
|
Datagram() Default constructor. |
|
|
Datagram(byte[] data, System.Net.IPEndPoint endpoint) Constructor. |
|
| Property Summary | |
|---|---|
| int |
Available
The bytes available for this datagram. Always 0 unless the datagram is created as the result of a successful receive. |
| byte[] |
Data
The data. |
| System.Net.IPEndPoint |
EndPoint
The source / destination endpoint. When sending a datagram this property contains the target endpoint. When receiving a datagram, this property contains the source endpoint. |
| Methods inherited from class System.Object |
|---|
| Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
| Field Detail |
|---|
internal int available
internal byte[] data
internal System.Net.EndPoint endpoint
| Constructor Detail |
|---|
public Datagram()
Default constructor.
public Datagram(byte[] data,
System.Net.IPEndPoint endpoint)
Constructor.
| Property Detail |
|---|
public int Available
The bytes available for this datagram. Always 0 unless the datagram is created as the result of a successful receive.
public byte[] Data
The data.
public System.Net.IPEndPoint EndPoint
The source / destination endpoint. When sending a datagram this property contains the target endpoint. When receiving a datagram, this property contains the source endpoint.
|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||