Björn Lindqvist
77f0d0042e
unix.ffi,windows.winsock: add the rest of the AI_* flags
...
Currently unused, but they are useful if you are calling the getaddrinfo
function directly
2015-10-08 15:29:14 +02:00
John Benediktsson
e477f6996f
Fix comments to be ! not #!.
2015-09-08 16:15:10 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
b6be8685c3
basis: ERROR: changes.
2015-08-13 03:20:39 -07:00
Doug Coleman
5f8426cfbe
factor: rename files that are not loadable on mac, too
2015-07-19 16:55:36 -07:00
Björn Lindqvist
ee19a97869
io.sockets.windows: wrap ioctlsocket and related constants to enable
...
setting sockets in non-blocking mode
2014-04-02 16:50:20 -05:00
Björn Lindqvist
4676ff921a
windows.winsock: fix the definition of SOCKET_ERROR and unit tests that
...
verifies its correctness
2014-04-02 16:50:13 -05:00
Björn Lindqvist
a5397756fe
windows.winsock: use the windows api types instead of int and void*
...
where applicable
2014-04-02 16:50:06 -05:00
Björn Lindqvist
f8387a08ae
Merge:
...
io.sockets.secure.windows: use non-blocking sockets to prevent
SSL_connect from blocking
On Windows, SSL_connect may hang forever if the server doesn't send any
data. To counteract that we temporarily set the socket non-blocking and
then call select in the wait-for-fd method.
Conflicts:
basis/io/sockets/secure/openssl/openssl-tests.factor
2014-04-02 12:16:51 -05:00
Björn Lindqvist
eaf0b40a9f
windows.winsock: wrap socket function
2013-10-11 10:23:40 -07:00
John Benediktsson
ff96ad9475
windows.winsock: port should be short, not sure if it should be PACKED-STRUCT or not.
2013-09-26 14:02:08 -07:00
John Benediktsson
db3d5f48cc
windows.winsock: the servent structure is different between 32-bit and 64-bit.
2013-09-25 11:39:27 -07:00
John Benediktsson
04c36279bb
windows.winsock: fix getservbyport and servent struct.
2013-09-16 17:35:06 -07:00
Björn Lindqvist
7c179f876c
unix.ffi, windows.winsock: wraps for servent functions
2013-09-16 17:31:37 -07:00
Doug Coleman
6f8043241e
windows.winsock: Add sockaddr>ip.
2012-09-16 17:50:47 -07:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
Doug Coleman
db7d81b008
Fix error checking in windows.sockets again
2010-09-21 14:33:10 -05:00
Doug Coleman
7b0a50e7d2
Squashed commit of the following:
...
commit 90deaafa9db083ecdb9e0e30ad3694317e616399
Merge: f392dfd
32cf7bb
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Tue Sep 21 00:33:37 2010 -0500
Merge branch 'icmp-ping' of git://github.com/mrjbq7/factor into icmp-ping2
commit 32cf7bb0e0b876309bce248944dfeca243f02594
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Fri Sep 10 14:01:47 2010 -0700
ping: Adding a simple IPv4 ping implementation.
commit da0c5ce7acf1407256c3ac2b98ac5b68858878c1
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Fri Sep 10 14:01:15 2010 -0700
io.sockets.icmp: Adding ICMP support.
commit 60fdf7e7d995d63c11be87e8e1398f7bdd593833
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Fri Sep 10 14:00:48 2010 -0700
io.sockets: Adding protocol support for sockets.
commit 2f130f1f9e0e2ea44d798beaad244a9c33b0d86a
Author: John Benediktsson <mrjbq7@gmail.com>
Date: Fri Sep 10 14:00:28 2010 -0700
Adding getprotobyname().
2010-09-21 11:15:33 -05:00
Doug Coleman
8aa22487da
Fix io.servers -- if it doesn't start up, don't throw an error when it's stopped. IPV6 must be enabled on windows with the command: ipv6 install (the build machines need this before we get clean windows builds). Fix up winsock error handling.
2010-09-19 21:35:52 -05:00
Doug Coleman
9ec94f242d
Dont use literals twice
2010-04-05 18:01:23 -05:00
Doug Coleman
026499e64f
Use flags{ instead of flags all over the place
2010-04-01 14:44:03 -05:00
Joe Groff
4cfa1a6c77
rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char
2010-02-23 11:42:02 -08:00
Joe Groff
b0bf5f3106
get rid of the last few pointer typedefs in db.postgresql.ffi, windows.usp10, and windows.winsock
2010-02-23 10:17:48 -08:00
Slava Pestov
95bfc8a240
vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases
2010-02-20 13:30:49 +13:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Doug Coleman
6b6e56a179
change add-init-hook to add-startup-hook, new add-shutdown-hook word
2009-10-19 22:17:02 -04:00
Joe Groff
866b62755e
replace all TYPEDEF: void* XXX* with C-TYPE: XXX
2009-09-27 22:21:24 -05:00
Joe Groff
f8251d2045
update vocabs so load-all on windows works without parsing string c-types
2009-09-27 18:41:20 -05:00
Joe Groff
f738a4dc4e
more windows loading fixes
2009-09-19 02:44:40 -05:00
Joe Groff
5e15da2b42
update windows.winsock structs
2009-09-18 19:25:00 -05:00
Joe Groff
eeebf6c751
fix loading issues in windows vocabs
2009-09-17 14:01:41 -05:00
Slava Pestov
223b907219
Fix sockets on Windows, and re-organize things so that windows.winsock doesn't get loaded by default
2009-09-04 05:02:33 -05:00
Doug Coleman
475530ef3d
update network structs. NO WHAMMY, NO WHAMMY, NO WHAMMY...STOP!!!
2009-09-03 16:57:36 -05:00
Doug Coleman
fb3fa1f797
remove dead code, use ${ and GUID:, structs
2009-08-29 20:52:14 -05:00
Doug Coleman
a81c78e485
WSABUF struct
2009-08-29 19:25:18 -05:00
Doug Coleman
ec579dcfc1
fix using
2009-08-29 17:42:14 -05:00
Doug Coleman
50a99dcce6
guid, system-info
2009-08-29 17:41:08 -05:00
Doug Coleman
8ab4d39036
move windows error handling to windows.errors and update usages.
2009-04-30 09:36:25 -05:00
U-SLAVA-DFB8FF805\Slava
b8ed7d20de
Update Windows-specific code for stricter stack checking
2009-01-28 02:46:29 -06:00
Slava Pestov
c5160d76e9
Merge qualified, alias, symbols, constants into core
2008-12-17 18:10:01 -06:00
Doug Coleman
8e0ff1989b
fix load error by making a word windows-file-size independent of the file-size word
...
add constants
2008-12-16 14:35:37 -06:00
Doug Coleman
3142d53c0d
fix load error
2008-12-16 02:30:47 -06:00
Doug Coleman
e909f7b290
fix windows compile errors
2008-12-16 02:28:04 -06:00
Slava Pestov
1e1640abb3
Load fixes
2008-12-09 03:22:38 -06:00
Doug Coleman
7c9d7f476a
windows needs timeval struct too
2008-10-06 18:28:10 -05:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
aea0fed14c
Fixing basis -> extra dependencies
2008-09-05 19:29:14 -05:00
Slava Pestov
6408b01e9d
Add 'unportable' tag in place of hard-coded list of 'dangerous' vocabs in load-everything
2008-07-29 16:47:52 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00