]> gitweb.factorcode.org Git - factor.git/commit
io.sockets: Windows doesn't recognize 0.0.0.0. Add a method for
authorDoug Coleman <doug.coleman@gmail.com>
Mon, 7 Mar 2016 21:59:17 +0000 (13:59 -0800)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 7 Mar 2016 22:07:01 +0000 (14:07 -0800)
commit2c82dfb51ba6923c2e7dcf3fac5109ae9da528f2
tree15dd7aa742bfecf0fafbb9f2ce2e73de720a0b38
parent253de1dc8e6a5a1d72e38e85048e53f5c309e020
io.sockets: Windows doesn't recognize 0.0.0.0. Add a method for
resolve-localhost for Windows, and make the default ipv4 make-sockaddr use
127.0.0.1 since we are making a sockaddr for ipv4 anyway and 127.0.0.1 is
cross-platform. Fixes #85.
basis/io/sockets/sockets.factor
basis/io/sockets/windows/windows.factor