On Fri, Mar 28, 2003 at 09:58:23AM -0600, Brent Clements wrote: > Does anyone have an example of a simple tcp client(in c) that checks to > see if a service is up and running and if not report an error? In generic terms that is not a SIMPLE thing. If you want to be fairly sure that for example SMTP service works, you do need to probe the server by sending a test message to it. From a web-server you need to retrieve a web-page to see that it works. > Thanks, > Brent /Matti Aarnio - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html