Commit graph

50 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
144d25367d Instead of replacing all DEFCONSTANT with DEFPARAMETER, use LET statements to prevent evaluation of the c-inline forms in profile, sockets and serve-event 2009-06-29 14:41:04 +02:00
Juan Jose Garcia Ripoll
f6ff6e4ffc Again, DEFCONSTANT statements cannot contain C-INLINE forms. 2009-06-28 21:43:26 +02:00
Juan Jose Garcia Ripoll
ecf055bc5a Fixes for the Windows port, including a flag to make ANSI C streams the default file type. 2009-03-30 14:42:16 +02:00
Juan Jose Garcia Ripoll
af158f819a CLX registers itself with *MODULES* and requires SOCKETS. Split SOCKETS's package definition into a different file so that CLX can load it before being compiled. 2009-02-24 12:45:54 +01:00
Juan Jose Garcia Ripoll
150398b8b1 Extended strings are now arrays of 32-bit integers. 2009-02-07 19:54:34 +01:00
Juan Jose Garcia Ripoll
9cdbb57dbc Better support for external formats, including the :CR, :LF and :CRLF options. 2009-01-02 16:49:01 +01:00
Juan Jose Garcia Ripoll
c9b36e4005 Merged the new_signals branch. 2008-12-23 12:08:29 +01:00
Juan Jose Garcia Ripoll
035d8779b9 trunc() does not exist in Solaris. 2008-12-22 10:12:35 +01:00
Juan Jose Garcia Ripoll
c331bd2630 We do not use stdio any more, but require the close() function. 2008-12-05 13:54:30 +01:00
Juan Jose Garcia Ripoll
b7f0067ae9 New implementation of lisp streams based on a method dispatch table. 2008-10-19 00:00:58 +02:00
Juan Jose Garcia Ripoll
8a3350f180 Protect the socket library with no-interrupt blocks 2008-10-11 00:28:17 +02:00
Juan Jose Garcia Ripoll
4c1bf9322b This header has to be included always. 2008-08-28 21:21:30 +02:00
Juan Jose Garcia Ripoll
ee6ae69aca Fixed typo in the name of a socket option. 2008-08-02 17:28:39 +02:00
Juan Jose Garcia Ripoll
89db1c7d7f Added option TCP_NODELAY 2008-07-31 10:57:40 +02:00
Juan Jose Garcia Ripoll
8cac166b98 We need sys/time.h for struct timeval. 2008-05-31 15:27:04 +02:00
jjgarcia
f42ca59c92 Accessors for low-level socket timeout attributes (by G. Carncross). 2008-05-31 13:04:07 +00:00
jgarcia
918aab1876 Fixes for building in solaris. 2008-03-05 20:01:55 +00:00
jgarcia
923d08c84b Socket receive routines now check for EAGAIN and EINTR errors (Steve Smith) 2007-10-14 08:04:42 +00:00
jgarcia
61c183c5da Better calculation of buffer size in safe_buffer_pointer 2007-10-13 11:24:09 +00:00
jgarcia
424c2562ee The appropiate header for strerror is string.h 2007-03-28 07:57:52 +00:00
jgarcia
56e95576a2 Not all C compilers allow dynamically initialized arrays. HP Non-Stop platform does not have hstrerror() 2007-03-24 11:19:41 +00:00
jgarcia
9101c3849b Fixed more references to symbols which now carry the ecl_ prefix 2007-01-18 15:01:15 +00:00
jgarcia
af13f2dc3c Need "enum" keyword for the type to be valid C (worked in C++) 2006-09-30 16:48:48 +00:00
jgarcia
049dbfde41 sockets.lisp is now C++ clean. 2006-09-26 08:12:32 +00:00
jgarcia
4464ad2c79 Add more flags which are missing in some platforms. 2006-06-26 07:33:35 +00:00
jgarcia
94e7c62cac Unified the code for string comparison functions. MAKE-SYMBOL now allows extended strings as far as they do not contain extended characters. Fixed typos in socket.lsp. Extended characters are printed with the same number of digits as in CHAR-NAME. 2006-05-29 08:51:37 +00:00
jgarcia
fa937337f8 Some lisp functions with non-standard names (base-char-p, base-string) are renamed and moved to the SYS package. socket.lsp fixed to understand base strings. limited support for arbitrary strings in string streams. 2006-05-29 08:51:28 +00:00
jgarcia
3b0ee59611 Add buffering mode to sockets 2006-04-26 10:01:03 +00:00
mgoffioul
c330f270f3 Make it compilable under MSVC (...again) 2006-04-24 13:46:00 +00:00
jgarcia
6b9633f207 Some flags are missing in OS X 2006-04-24 08:49:36 +00:00
jgarcia
330c3e6e09 Fixes to build with Mac OSX Intel. 2006-04-24 08:44:28 +00:00
mgoffioul
b98391ba3b Fix compilation failure under MSVC (most of the MSG_ flags do not exist). 2006-04-21 14:22:51 +00:00
jgarcia
13b08093da New function SOCKET-SEND, compatible with SBCL, donated by Dmitri Hrapof 2006-04-18 19:53:50 +00:00
jjgarcia
b3400e9e93 Precise the license of sockets/test.lisp, which we copied from SBCL 2005-12-19 14:32:27 +00:00
goffioul
7a74b1eafc make_two_way_stream does not exist anymore. 2005-12-05 09:21:30 +00:00
jjgarcia
ede2235cb0 Missing header in mingw32 2005-10-24 10:14:15 +00:00
goffioul
07613cb30a Fix compilation failure under Win32/MSVC when using multi-thread support. 2005-10-06 08:06:08 +00:00
jjgarcia
6a761be7dc Redo Michael's change 2005-05-19 11:33:23 +00:00
jjgarcia
31cd2acd55 NetBSD's mkdir does not like the trailing slash in a directory name 2005-05-19 11:27:30 +00:00
goffioul
29706f33ca Make it compile under cygwin. 2005-05-17 13:04:41 +00:00
jjgarcia
c38671bc3e Sockets support for mingw32 2005-05-03 11:17:43 +00:00
jjgarcia
607a2725a6 Implemented SOCKET-NAME 2005-03-17 11:18:38 +00:00
jjgarcia
08f78f4408 Rewritten the sockets module using the multiple-values output from C-INLINE 2005-03-16 16:27:57 +00:00
jjgarcia
22581ee106 Avoid loading sockets.fas twice 2005-02-19 12:41:29 +00:00
jjgarcia
fa7d62304b User might not have provided the value of slot :TYPE 2005-02-17 13:40:35 +00:00
jjgarcia
e4233c546b Under Windows, implement Unix pipes the Cygwin way (M. Goffioul) 2005-02-17 12:41:17 +00:00
jjgarcia
7fb94bf9b7 Proper closing of sockets involves closing both the stream and the file descriptor. 2005-02-14 14:46:20 +00:00
jjgarcia
0f9cd17271 BSD systems have an extra field sun_len in the sockaddr type which must be filled. Linux systems lack this field. 2005-02-14 11:11:37 +00:00
jjgarcia
3c1d6b17f5 Simulation of Unix sockets for Windows (M. Goffioul) 2005-02-11 18:19:08 +00:00
jjgarcia
9f16d5106e Added the support for bsd sockets made by Julian Stecklina and ported to windows by M. Goffioul 2005-02-11 18:00:24 +00:00