I have a pop email checker application written but I have a problem with 25 seconds of TCPTimeout delay --- thats right --- 25 seconds.. See my post: http://www.autoitscript.com/forum/index.ph...mp;#entry313934 Somehow I dont think anyone is goin to come up with an answer except with an external control that needs to installed/registered and paid for unless they let me in to the code to fix it with a TCP ConnectDelayed version that sets the socket & return value in a global variable/flag upon return... "Its off, its off, its off I go to the wonderful wizard of 'python'..." (pySystray + threads and hopefully can be compiled from what I have already done with my AutoIt Pop Email checker pseudo code...) Unfortunately AutoIt really uses a Windows 3.1 programming model. It doesn't have to have threads for my proposes but does need a non-blocking TCPConnect if not TCPIP: in general that would be enough. Otherwise serious network applications are out even though some guy here has written a http server in it but I think he wasted his time. And COM controls etc are a waste of time unless they are drop in provided from unlicensed code that doesn't need to be registered first. Someone like to write it for me? All it has to do is the equivalent of (if there were AutoIt threads): Global $socket = """ Func DoConnect($serverip, serverport) $socket = TCPConnect($serverip, $serverport) Exit(Thread) EndFunc ... ;Call the DoConnect thread/object/COMObject SomeObjectThreadOrServiceFunctionCall(DoConnect, $serverip, serverport) ;THIS SHOULD BE A TIMER ACTUALLY BUT YOU GET MY DRIFT... While $socket == """ or 0 say ;.. Do Our other precessing --- AND CONTINUE TO SERVUCE GUI/MENU REQUESTS ETC --- WHILE WAITING FOR SOCKET TO BE SET TO -n (some -@error) . OR +n ETC... ... WEnd While you are at it you could make the whole TCP... UDFs take a nonblocking flag/and or error and returned data variable that gets set to a value different from the illegal value initially specified.. Without this i will have to migrate my systray pop email widget to python... Regards, Matthew