Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2000 02:43:15 +0100
From:      Cliff Sarginson <cliff@raggedclown.net>
To:        Gustavo Vieira Goncalves Coelho Rios <gustavo@ifour.com.br>, questions@freebsd.org
Subject:   Re: web monitoring system
Message-ID:  <00120202431504.04232@buffy>
In-Reply-To: <3A282EC8.65821F84@ifour.com.br>
References:  <3A282EC8.65821F84@ifour.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 02 December 2000 00:05, Gustavo Vieira Goncalves Coelho Rios 
wrote:
> Hi folks!
>
> I now this questions does not belong to freebsd, but since i run it,
> this list is the closer i get to have my doubt kicked!
>
> I am planning a web based system to help monitor my boxes! Since it will
> be designed to be used by web browsers i would have to install a web
> server on every box i would like to set. THAT'S NOT AN OPTION.
>
> My ideia is to write a single tools that will listen to an arbitrary
> port and will accept http requests and write the output to the user
> browser.
>
> Since i will have to known how a form is passed to the web server to
> have my small utility written. My questions is: what are the source of
> documentation should i seek for ? RFCs ? A kick ass book on UNIX Network
> Programming? What you gurus suggest me ?
>
Mmmm.
This is a fairly ambitious project :)
Some questions:
1 - Can you already program in "C" or "perl", these are the two best
choices (wait for contrary opinions !) for network programming.
2 - Do you know what sockets are ?

If yes and yes. I would if I were you start off by writing some
simple socket programs. This will give you a good appreciation of
TCP/IP issues (and is very satsifying).
Write a simple client/server program pair that will copy files
from one system to another, that's a good exercise.

Remember RFC are semi-formal protocol specifications, they don;t write
the code !
The very best book on this kind of thing is Unix Network Programming, by ..??
Cannot remember his name. It used to be in 1 edition, now it is in 2 I 
believe. It is INCREDIBLY expensive (at least in Holland where I live). But
it is just about all you will ever need to know, and is real world stuff.

Good Luck.
Post your progress :)

Cliff



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00120202431504.04232>