## Socket::get_ProtocolType method


Returns the protocol type.

```cpp
System::Net::Sockets::ProtocolType System::Net::Sockets::Socket::get_ProtocolType()
```


### ReturnValue

The protocol type.

## See Also

* Enum [ProtocolType](../../protocoltype/)
* Class [Socket](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.PDF for C++](../../../)
