Consider the following:
(int "07") => 7
(int "08") => 0
Is this intentional?
/Christer
Search found 4 matches
- Wed Nov 02, 2005 12:21 am
- Forum: newLISP and the O.S.
- Topic: Bug in (int)
- Replies: 3
- Views: 5081
- Wed Jun 15, 2005 7:56 pm
- Forum: newLISP in the real world
- Topic: non-blocking net-connect for TCP
- Replies: 7
- Views: 5472
- Mon Jun 13, 2005 10:53 pm
- Forum: newLISP in the real world
- Topic: non-blocking net-connect for TCP
- Replies: 7
- Views: 5472
Peter: Try this: (net-connect "192.168.0.56" 80) (I just assume you don't have anybody on that intranet address). It's not really non-blocking. It just appears to be that way when you connect to a server that send a RST (we're talking TCP here). If there's nothing on the other end, only the timeout ...
- Sat Jun 11, 2005 11:26 pm
- Forum: newLISP in the real world
- Topic: non-blocking net-connect for TCP
- Replies: 7
- Views: 5472
non-blocking net-connect for TCP
Hi! I'd find it very useful to have a parameter for net-connect to make that call non-blocking. I've built a simple polling loop and and a socket class to handle multiple connections in one thread, but when it comes to outgoing connections they block until they're connected. This is a bit disappoint...