bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Improvement on FIO∆socket


From: Christian Robert
Subject: [Bug-apl] Improvement on FIO∆socket
Date: Thu, 16 Apr 2015 22:39:00 -0400
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

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)?

If you do that, think also about the setsockopt() options like SO_LINGER, etc.


many thanks, (I wrote a library like this one in the '90 for OS/2 Rexx, so long 
ago!)


Xtian.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]