See Also

Tcp Class  | Tcp 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

Socket Property

Dart.PowerTCP.EmailValidation Namespace > Tcp Class : Socket Property

Returns a reference to the System.Net.Sockets.Socket instance being used.

[Visual Basic]
<BrowsableAttribute(False)> Public ReadOnly Property Socket As Socket
[C#]
[BrowsableAttribute(false)] public Socket Socket {get;}
[C++]
[BrowsableAttribute(false)] public: __property Socket* get_Socket();
[C++/CLI]
[BrowsableAttribute(false)] public: property Socket^ Socket {    Socket^ get(); }

Return Type

The System.Net.Sockets.Socket being used for the TCP connection.

Remarks

The Socket used for the TCP connection is exposed through this property. It is not recommended to read or write to the TCP stream using the Socket object directly. To read or write, use the higher-level methods such as Tcp.Receive or Tcp.Send, or members of Tcp.Stream such as Tcp.Stream.Read and Tcp.Stream.Write.

Requirements

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

See Also

Tcp Class  | Tcp Members


Send comments on this topic.

Documentation version 1.0.3.0.

© 2008 Dart Communications.  All rights reserved.