SocketWrench .NET Edition

SocketWrench.SocketProtocol Enumeration

Specifies the protocols that the SocketWrench class supports.

[Visual Basic]
Public Enum SocketWrench.SocketProtocol
[C#]
public enum SocketWrench.SocketProtocol

Remarks

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.

Members

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.

Requirements

Namespace: SocketTools

Assembly: SocketTools.SocketWrench (in SocketTools.SocketWrench.dll)

See Also

SocketTools Namespace