Skip to content
Tangent 128 edited this page Mar 28, 2015 · 3 revisions

UdpSocket:bind

Bind the socket to an address.

Method

SYNOPSIS

channel, err = function UdpSocket:bind(channel, address)

ARGUMENTS

  • channel, the channel number
  • address, the IP address (see IpAddress)

RETURNS

  • channel, the channel number bound or nil on failure
  • err, the error message
Clone this wiki locally