See Also

Datagram Class  | Datagram Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages PowerTCP Email Validation for .NET

Offset Property

Dart.PowerTCP.EmailValidation Namespace > Datagram Class : Offset Property (Datagram)

The offset into the buffer.

[Visual Basic]
Public ReadOnly Property Offset As Integer
[C#]
public int Offset {get;}
[C++]
public: __property int get_Offset();
[C++/CLI]
public: property int Offset {    int get(); }

Return Type

An integer representing the offset into the buffer.

Remarks

Use this property to access offset parameter of the Receive and Send methods.

When using the Tcp component, using Tcp.Send or Tcp.Receive will return a Segment object. The buffer offset is available through Segment.Offset.

When using the Udp component, using Udp.Send or Udp.Receive will return a Datagram object. The buffer offset is available through Datagram.Offset.

Use this property to properly access the data available in Segment.Buffer or Datagram.Buffer.

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.Offset or Datagram.Offset property contains the offset into the buffer.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

Datagram Class  | Datagram Members


Send comments on this topic.

Documentation version 1.0.3.0.

© 2008 Dart Communications.  All rights reserved.