Andy Fuchs wrote: > Imagine my webbrowser contacted a server via Bonjour (ZeroConfig). So I know > already the IP-Address of the server, but I don't know if port 80 is open. > (btw. I don't care if a Firewall is running to block Ping, because in that > case there's a reason for it and the server doesn't want to be my friend > ;-)). > > So I want to distinguish between a state where the server maybe there, but > HTTP-services are not. > > But the *general* question was more towards: > - Is there a mechanism in Qooxdoo/Javascript that allows 'Ping'? >
XHR via qx.io.remote.Request (given that your understanding of "Ping" is "try a connection and see if it succeeds"). > - Is there some class in the Framework already prepared for polling after > the server, or do I have to write my own class' (I guess the latter ;-)) > The latter :-). T. > andy > > > > On 05.03.09 11:16, "Jean-Baptiste BRIAUD -- Novlog" <[email protected]> > wrote: > > >> but what if firewall is configured to give no answer to ping ? >> >> Could you give us more precisions on the context, why you want to do >> that ? >> >> If it is your network, make sure servers all open port 80 for eg and >> HTTP GET is your friend :-) >> Beware that will only ensure web server is running. Your web server >> may be down or crashed while your server is running perfectly fine. >> >> >> On 5 Mar 2009, at 11:06, Andy Fuchs wrote: >> >> >>> I was just wondering if there isn't a built-in 'poll' or 'ping' >>> mechanism in >>> Qooxdoo. A search on the Qooxdoo portal resulted in nothing... >>> >>> Why? If a server disappears, I just want to 'ping' it to see when >>> it's back. >>> I'm not too familiar with these kind of things in Javascript, so any >>> hint >>> would be appreciated. >>> >>> Do I just use a HTTPGet? And what if port 80 is not open? >>> >>> andy >>> >>> >>> >>> >>> >>> > ----------------------------------------------------------------------------->> > - > >>> Open Source Business Conference (OSBC), March 24-25, 2009, San >>> Francisco, CA >>> -OSBC tackles the biggest issue in open source: Open Sourcing the >>> Enterprise >>> -Strategies to boost innovation and cut costs with open source >>> participation >>> -Receive a $600 discount off the registration fee with the source >>> code: SFAD >>> http://p.sf.net/sfu/XcvMzF8H >>> _______________________________________________ >>> qooxdoo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >>> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >> -Strategies to boost innovation and cut costs with open source participation >> -Receive a $600 discount off the registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> > > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
