Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - zool

#1
newLISP and the O.S. / Bug in (int)
November 01, 2005, 04:21:47 PM
Consider the following:



(int "07") => 7



(int "08") => 0



Is this intentional?



/Christer
#2
newLISP in the real world /
June 15, 2005, 12:56:19 PM
What are the options for windows then?
#3
newLISP in the real world /
June 13, 2005, 03:53:32 PM
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 stops the connection attempt. Or is there a parameter that I've forgotten? I wish you where right.
#4
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 disappointing, especially since I've made a single exe of newlisp and freewrap, cause then a blocking call also blocks the GUI. (I might just release that little hack when I've cleaned up the code.)



Anyone know of a workaround for this? Is it hard to implement? Lutz? And yeah, thanks for a great scripting tool!