chickadee » udp » udp-bind!

udp-bind! SOCKET HOST PORTprocedure

Binds a UDP socket to an address and port as specified by HOST and PORT. HOST may be a string consisting of an IP address or hostname, or #f, in which case INADDR_ANY is used. If PORT is 0, a port will be allocated by the system automatically.