send-to

Generic Function

Package: socket

Arguments: sock buffer size &key remote-host remote-port

For datagram sockets you can't do normal Lisp stream I/O. The data is written to the socket using this function. buffer is a Lisp vector type and size is the number of bytes of data to send. remote-host and remote-port describe where to send the data. If they aren't given then the values saved when the socket was created with make-socket are used.

Method for file-datagram-socket

Arguments: (sock file-datagram-socket) buffer size &key remote-filename

The method for file-datagram-sockets is like the previous send-to method except this is used for sockets within the address family :file.

See socket.htm for general information on sockets in Allegro CL.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.