[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] Improvement on FIO∆socket
From: |
Christian Robert |
Subject: |
Re: [Bug-apl] Improvement on FIO∆socket |
Date: |
Thu, 16 Apr 2015 22:55:47 -0400 |
User-agent: |
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 2015-04-16 22:44, Elias Mårtenson wrote:
On 17 April 2015 at 10:39, Christian Robert <address@hidden
<mailto:address@hidden>> wrote:
Hi,
sock←FIO∆socket 'AF_INET' 'SOCK_STREAM' 'IPPROTO_TCP'
DOMAIN ERROR
FIO∆socket[3] Zh←FILE_IO[32]Bi
^ ^
of course it fail, because it is expecting integer numbers ...
Such integer numbers are *very* *very* hard to remember, why not accepting
this syntax (in plain text, even mixed with integers)?
It would be trivial to do. Simply create a set of FIO∆name variables that hold
the proper values. There is no need to use strings for this.
If you do it, I'm sure Jürgen will merge it into FILE_IO.apl.
Regards,
Elias
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"
my 2 cents for what it worst.
Xtian.