Search found 4 matches

by sprink
Tue Aug 09, 2005 12:05 am
Forum: Anything else we might add?
Topic: net-connect question
Replies: 9
Views: 8252

ohhhhh. hehe Dmi. I understand now. Thanks for clearing that up. :)
by sprink
Mon Aug 08, 2005 11:38 pm
Forum: Anything else we might add?
Topic: net-connect question
Replies: 9
Views: 8252

btw, nil in newLisp is equivalent of "false", and (if (= (net-lookup server) nil) ... is equivalent to (if (net-lookup server) ... (if (net-lookip server)) isn't equivalent to (if (= (net-lookup server) nil). perhaps you mean != And newdep suggested using net-select, which seems like the easier rou...
by sprink
Mon Aug 08, 2005 10:14 pm
Forum: Anything else we might add?
Topic: net-connect question
Replies: 9
Views: 8252

well, first off, thanks for the replys. But I still haven't quite got the solution i'm looking for working. From your replys i'm assuming my best bet is to use threads for each connection (so I can continue to check the rest without waiting for timeouts) or use net-select. But I can't seem to get ne...
by sprink
Mon Aug 08, 2005 1:57 am
Forum: Anything else we might add?
Topic: net-connect question
Replies: 9
Views: 8252

net-connect question

Hi, i'm fairly new to newlisp so I thought i''d make a script to validate if a list of anonymous proxy servers in a file are connectable (seems easy enough), but my script seems to stall on the ones that aren't. Here's my code: (define (check-list file) (set 'in-file (open file "read")) (while (read...