Re: timeout for "socket"?



Dnia 27.06.2008 Pat Thoyts <cnggublgf@xxxxxxxxxxxxxxxxxxxxx> napisał/a:

Have a look at the wiki for 'port scanning' - what you want to use is
a combination of [socket -async] and [after]

I'm not sure, what you mean.

If I use "-async", there will be a handle for a connection returned
immediately - therefore I'll have to test the connection different way,
for example using fileevent, like in your script.

But I've got a feeling, "async & after" gives me nothing more: just instead
of setting the timeout when testing the connection immediately (no "async"),
I'm testing the connection using "fileevent" (for example) - 2000 ms later,
but still not setting test duration. Just the testing process itself starts
2 seconds later.

I would to make it try to connect, say, 5 seconds - and not to test the
connection 5 seconds later. It's not the same.
--
ZB
.



Relevant Pages

  • Re: OE6 does not connect with pop3 server
    ... Can we infer from this that you got a timeout on the EarthLink account ... My point about making an approximate timestamp is just to look at the ... E.g. as near as possible before the connection ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Timout control with RPC/HTTP
    ... specifies the minimum connection timeout used by the ... client and RPC Proxy, in seconds. ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.exchange.admin)
  • Re: Timout control with RPC/HTTP
    ... please also check the RPC web site connection timeout settings ... Maybe the idle timeout settings depend on here. ...
    (microsoft.public.exchange.admin)
  • Re: web serivce: client side timeout?
    ... client side but only from the server side. ... System.Net.Sockets.SocketException: A connection attempt failed ... asyncResult, Int32 timeout, Exception& exception) ... John Saunders | MVP - Windows Server System - Connected System ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Timout control with RPC/HTTP
    ... But it is a IDLE timeout period that I am looking to control. ... But when they are idel the connection status will say - " last updated ...." ... Where do I control the settings for outlook to reconnect to the server to see if the mailbox is in sync with the remote lcoal cache. ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.exchange.admin)