Re: simple tcp client???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux