Gets the socket's protocol type.
[Visual Basic] Public ReadOnly Property ProtocolType As Integer [C#] public int ProtocolType {get;} [C++] public: __property int get_ProtocolType(); [JScript] public function get ProtocolType() : int;
The valid protocol types are defined in the ProtocolType class.
Socket Class | Socket Members | System.Net.Sockets Namespace