See Also

Tcp Class  | Tcp Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages PowerTCP SSL Sockets for .NET

Socket Property

Dart.PowerTCP.SslSockets Namespace > Tcp Class : Socket Property (Tcp)

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 Receive or Send, or members of Stream such as Tcp.Stream.Read and Tcp.Stream.Write.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Tcp Class  | Tcp Members


Send comments on this topic.

Documentation version 1.1.2.0.

© 2008 Dart Communications.  All rights reserved.