Dart.PowerTCP.EmailValidation Namespace > Datagram Class : Count Property (Datagram) |
The amount of bytes that were sent/received.
[Visual Basic]
Public ReadOnly Property Count As Integer
[C#]
public int Count {get;}
[C++]
public: __property int get_Count();
An integer value representing the amount of bytes that were sent/received.
When using the Tcp component, using Tcp.Send or Tcp.Receive will return a Segment object. The amount of bytes transferred is available through Segment.Offset.
When using the Udp component, using Udp.Send or Udp.Receive will return a Datagram object. The amount of bytes transferred is available through Datagram.Offset.
When using other PowerTCP components, a Segment or Datagram object (which one depends on if TCP or UDP is used as the transport protocol) is made available to describe data sent or received, often in a Trace event. The Segment.Count or Datagram.Count property contains the amount of bytes transferred.
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
Datagram Class | Datagram Members
Send comments on this topic.
Documentation version 1.0.3.0.
© 2008 Dart Communications. All rights reserved.