Well, don't spend too much time on this request, I would be very surprized if 
anyone, ever, program something
usefull using sockets in APL. I was just trying to allocate a socket to see if 
it is working or not (for
testing purpose).

Xtian.


On 2015-04-16 22:59, Elias Mårtenson wrote:
On 17 April 2015 at 10:55, Christian Robert <[email protected] 
<mailto:[email protected]>> wrote:

    I though about that too (defining AF_INET, AF_UNIX, SOCK_STREAM, 
SOCK_DGRAM, IPPROTO_TCP, IPPROTO_UDP, IPPROTO_RAW, and such (tenths more)),
    but I *still* think it should be in the ".so"  and not in the )lib 5 
"FILE_IO"


If the actual values for these constants are not standardised (i.e. they can 
change on different operating systems) then of course, they need to be in the 
.so. As for the particular values, I have to admit that I have no idea if they 
ever change.

That said, I'd still prefer variables rather than strings. The values of the 
variables could be retrieved from a call into the .so and initialised on 
library load though.


Reply via email to