Search found 5 matches
- Fri Feb 20, 2009 1:26 pm
- Forum: newLISP in the real world
- Topic: is net-select support file descriptor like stdin ?
- Replies: 3
- Views: 1990
- Fri Feb 20, 2009 11:07 am
- Forum: newLISP in the real world
- Topic: is net-select support file descriptor like stdin ?
- Replies: 3
- Views: 1990
is net-select support file descriptor like stdin ?
I want to read from stdin and a socket, but it is tedious and urgly to do so like
(while 1 (if (peek 0) ....) (if (net-peek socket) ...) (sleep 10))
I think there is an select function in linux, man 2 select. is there way to do that in newlisp ?
(while 1 (if (peek 0) ....) (if (net-peek socket) ...) (sleep 10))
I think there is an select function in linux, man 2 select. is there way to do that in newlisp ?
- Fri Feb 20, 2009 6:18 am
- Forum: newLISP newS
- Topic: Release: nl-install
- Replies: 1
- Views: 2501
- Fri Feb 20, 2009 3:17 am
- Forum: Anything else we might add?
- Topic: a question about import. history library
- Replies: 2
- Views: 3745
- Thu Feb 19, 2009 10:12 am
- Forum: Anything else we might add?
- Topic: a question about import. history library
- Replies: 2
- Views: 3745
a question about import. history library
hi, I'm a newbie of newlisp. now I writed one very simple mud client as following. now it has two problem: 1. if I use readline search function, the program will exit silently. I think it is about memory problem. can anyone fix it ??? 2. when the peer of socket close the connection, the program will...