Hello, my friend Jorge has built a small embedded web server with Synapse and we
are working together to make it better.. we are trying to figure out how to
detect if a Bind() call could not access the port? For example if a server is
already running on a computer on port 80, we want to detect this before having
synapse use port 80.

I see in some example synapse code that people use LastError to check for IP
address issues.. does this also work for ports? I tried calling lasterror and it
seems to show no problems even if a server is open on port 80. I also expected
that maybe the Bind() method would return a boolean false if there was a
problem.. but it is a procedure.

Any tips for detecting already opened ports with synapse or other OS utilities?
Preferably cross platform of course.

The server we are working on by the way..
http://opensvn.csie.org/WebApplication/lightwebserver/
http://z505.com/powtils/svn.shtml

Regards,
Lars


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to