Configure Connection in UDP Explorer
R2026bAfter you select Configure UDP Socket, the Configure tab opens. Set the following connection parameters for the UDP socket that you want to connect to.
Connection
Communication Mode — Byte-type or datagram-type for reading data. The differences between the two options are summarized as follows.
Byte StreamDatagramGranularity of data returned is bytes. Granularity of data returned is datagrams. Does not provide sender's address and port. Provides sender's address and port. Useful for reading data from single source. Useful for receiving data from single or multiple senders, where data in datagrams packets needs to be separate. Useful for identifying sender of datagram packet received. IP Version — Version type for IP address.
Port Sharing — Setting to allow other UDP sockets to bind to the same local port as this socket.
Local
Address — Local host name or dotted-decimal IP address. If you leave the value of this parameter as
Auto, the value is0.0.0.0for IPV4 or::for IPV6.Port — Local port number that the UDP socket binds to, specified as a numeric value from 0 to 65535. If you leave the value of this parameter as
Auto, a value is assigned by the operating system.
Destination
These parameters are for writing data and are optional during connection. You can specify them later when writing data.
Address — Destination address to write to, specified as a host name or dotted-decimal IP address.
Port — Destination port to write to, specified as a numeric value.
After you have specified values for these parameters, click Confirm Parameters. If the connection is successful, your UDP Socket appears in the Device List.
Go back to device selection at any time by clicking Cancel.