TWSocket.Proto

From Overbyte
Jump to navigation Jump to search

Main page -> ICS component reference -> TWSocket -> Proto

Definition

property Proto: String;

Description

Proto defines the protocol to be used by the socket. The following protocols are available:

  • TCP - a connection oriented protocol with automatic retransmission of lost packets (at least to a certein degree)
  • UDP - a fast and connectionless protocol but without retransmission of lost packets and packets may be dropped if network load is high. The overhead is much less than with TCP so it is suited for real time audio/video transmission
  • RAW - socket without overlaying (UDP/TCP) protocol. Warning: using RAW sockets requires administrator privileges in Windows 7 (exception: ping which is also based on raw sockets internally)

Example

Best practices

How to