Specifies the protocols that the SocketWrench class supports.
The SocketWrench class uses the SocketProtocol enumeration to specify which network protocol will be used when a socket is created. The default protocol used by the class is socketStream.
| Member Name | Description |
|---|---|
| socketStream | Transmission Control Protocol (TCP). This protocol should be used with stream sockets, where data is sent and received as an arbitrary stream of bytes. |
| socketDatagram | User Datagram Protocol (UDP). This protocol should be used with datagram sockets, where data is sent and received in discrete packets. |
| socketRaw | Raw sockets. This socket type is for special purpose applications which need access to the IP datagram. |
Namespace: SocketTools
Assembly: SocketTools.SocketWrench (in SocketTools.SocketWrench.dll)