# number UDPSocket.bind()

Binds an available port randomly assigned by the system.

# Return Values

# number

Bound port number

# Sample Code


  const udp = wx.createUDPSocket()
  const port = udp.bind()

点击咨询小助手