Creates an async-io-state where the object is a connected UDP socket.
A wait-state-collection to associate with the result.
Specify the socket address to connect to in the standard way.
t or the keyword
See async-io-state for possible values.
create-async-io-state-and-connected-udp-socket creates a new UDP socket, connects it to the socket address specified by hostspec and service, optionally binds it if local-port or local-address are non-nil, and then creates and returns an async-io-state object that can be used to perform I/O operations on the socket. The I/O operations are done using async-io-state-receive-message and async-io-state-send-message.
hostspec and service are interpreted as described in Specifying the target for connecting and binding a socket.
local-address and local-port are also interpreted as described in Specifying the target for connecting and binding a socket. Both values can be
Connecting the socket affects the destination of messages sent using the async-io-state, and also restricts the origin of received messages.
queue-output controls what happens if you try to perform a write operation on the state while another write operation is ongoing. When queue-output is
nil, this will cause an error. When queue-output is non-nil, the second write operation is queued and actually executed later. The default value of queue-output is
create-async-io-state-and-connected-udp-socketitself is synchronous.
create-async-io-state-and-connected-udp-socket(because the socket address to send to is already specified by connecting.)
LispWorks User Guide and Reference Manual - 13 Feb 2015