psynegy Posted November 4, 2009 Posted November 4, 2009 I've written an HTTP server of sorts, but after adding a tray icon, I can't seem to get any response on the HTTP side of things unless you hover over the tray icon. Do $msg = TrayGetMsg() Switch $msg Case 0 ContinueLoop Case $exititem DoExit() EndSwitch $ConnectedSocket = TCPAccept($MainSocket) Until $ConnectedSocket <> -1 Any ideas?
AdmiralAlkex Posted November 4, 2009 Posted November 4, 2009 Are you aware that ContinueLoop "continues" the loop from the beginning? That's why you never gets past the Switch. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now