UdpSocket.Bind (gb.net)

Sub Bind ( )

Bind a socket so the object can start sending and receiving data.

If Path is defined, then the socket is a local socket bound to it. Otherwise the socket is an internet socket bound the port specified by the Port property.

This function can be used when the Status property is zero (inactive) or lesser than zero. Otherwise, an error is raised.