Stelian Ionescu | 6 Apr 2008 23:15
Gravatar

Passing FDs over UNIX sockets

I've recently added a few new functions to net.sockets:
MAKE-SOCKET-FROM-FD, MAKE-SOCKET-PAIR and the pair
SEND-FILE-DESCRIPTOR/RECEIVE-FILE-DESCRIPTOR for passing FDs over UNIX
sockets. I've done a few tests and while OSX can pass FDs either over
stream sockets or datagram sockets, on Linux only datagram sockets seem
to work.

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
I've recently added a few new functions to net.sockets:
MAKE-SOCKET-FROM-FD, MAKE-SOCKET-PAIR and the pair
SEND-FILE-DESCRIPTOR/RECEIVE-FILE-DESCRIPTOR for passing FDs over UNIX
sockets. I've done a few tests and while OSX can pass FDs either over
stream sockets or datagram sockets, on Linux only datagram sockets seem
to work.

--

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
elliott | 7 Apr 2008 07:13

cffi-grovel:grovel-file

Hello.

Just checking out the library and trying to load on sbcl 1.0.15.36.

I noticed that the net.socket.asd file calls CFFI-GROVEL:GROVEL-FILE, 
which is undefined by the cffi-grovel system provided by the cffi-net 
darcs repo.  Is cffi-net the correct source of iolib's cffi-grovel 
dependency?

elliott
Attila Lendvai | 7 Apr 2008 09:00
Picon
Gravatar

Re: cffi-grovel:grovel-file

>  I noticed that the net.socket.asd file calls CFFI-GROVEL:GROVEL-FILE, which
> is undefined by the cffi-grovel system provided by the cffi-net darcs repo.
> Is cffi-net the correct source of iolib's cffi-grovel dependency?

you need to pull this cffi and its dependencies (it's about to be
merged back into the official cffi branch):

darcs pull http://common-lisp.net/~loliveira/darcs/cffi+lotsastuff/

--

-- 
 attila
elliott | 7 Apr 2008 22:04

Re: cffi-grovel:grovel-file

Attila Lendvai wrote:
> you need to pull this cffi and its dependencies (it's about to be
> merged back into the official cffi branch):
>
> darcs pull http://common-lisp.net/~loliveira/darcs/cffi+lotsastuff/
>   

Nice.  I've gotten further, but I've found another dependency problem.

iolib's net.sockets/conditions.lisp file uses the function 
OSICAT-POSIX::GET-POSIX-ERROR-CONDITION.   The latest osicat from 
common-lisp.net was 0.5.0, but didn't include the posix system.  I 
grabbed osicat from http://common-lisp.net/~loliveira/soc07/osicat.git/ 
and it has a osicat-posix system, but doesn't define the  
GET-POSIX-ERROR-CONDITION.   Any clues?

elliott
Stelian Ionescu | 7 Apr 2008 22:55
Gravatar

Re: cffi-grovel:grovel-file

On Mon, Apr 07, 2008 at 01:04:27PM -0700, elliott wrote:
>Attila Lendvai wrote:
>>you need to pull this cffi and its dependencies (it's about to be
>>merged back into the official cffi branch):
>>
>>darcs pull http://common-lisp.net/~loliveira/darcs/cffi+lotsastuff/
>>  
>
>Nice.  I've gotten further, but I've found another dependency 
>problem.

You'll find intructions to download all dependencies on the download
page(section live sources): http://common-lisp.net/project/iolib/download.shtml

--

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
On Mon, Apr 07, 2008 at 01:04:27PM -0700, elliott wrote:
>Attila Lendvai wrote:
>>you need to pull this cffi and its dependencies (it's about to be
>>merged back into the official cffi branch):
>>
>>darcs pull http://common-lisp.net/~loliveira/darcs/cffi+lotsastuff/
>>  
>
>Nice.  I've gotten further, but I've found another dependency 
>problem.

(Continue reading)

elliott | 7 Apr 2008 23:56

Re: cffi-grovel:grovel-file

Stelian Ionescu wrote:
> You'll find intructions to download all dependencies on the download
> page(section live sources): http://common-lisp.net/project/iolib/download.shtml
>   

Very cool.  I didn't pick up on the fact that osicat and cffi were from 
custom repos.

All loads fine now... thanks

elliott

PS- pointing out custom repos might be worth while as I didn't find that 
fact obvious even after looking at the download page a few times.
Stelian Ionescu | 14 Apr 2008 16:29
Gravatar

Some docs available

I've uploaded some preliminary docs at http://common-lisp.net/project/iolib/manual.
It's not much for the moment, basically only the docstrings extracted to
texinfo, but I'll be adding more this week.
Anybody needs something specific ?

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
I've uploaded some preliminary docs at http://common-lisp.net/project/iolib/manual.
It's not much for the moment, basically only the docstrings extracted to
texinfo, but I'll be adding more this week.
Anybody needs something specific ?

--

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
Stelian Ionescu | 16 Apr 2008 10:09
Gravatar

Licence change

Last night, in agreement with François Rideau, Luís Oliveira and Attila
Lendvai, I've changed the licence of IOlib to the MIT licence.

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
Last night, in agreement with François Rideau, Luís Oliveira and Attila
Lendvai, I've changed the licence of IOlib to the MIT licence.

--

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.

Gmane