Changeset 16342


Ignore:
Timestamp:
Jan 14, 2015, 8:48:56 PM (5 years ago)
Author:
rme
Message:

In ccl:send-to, use the socket-address-family accessor to determine the
address-family to pass to resolve-address. Otherwise, it's possible for
resolve-address to return the wrong kind of socket-address object, e.g.,
an :internet6 address instead of :internet.

See ticket:1259.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/library/sockets.lisp

    r16332 r16342  
    912912                                                       (getf (socket-keys socket) :remote-port))
    913913                                             :connect :active
    914                                              :address-family (getf (socket-keys socket) :address-family)
     914                                             :address-family (socket-address-family socket)
    915915                                             :socket-type :datagram))))
    916916    (multiple-value-setq (msg offset) (verify-socket-buffer msg offset size))
Note: See TracChangeset for help on using the changeset viewer.