By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,335 Members | 2,718 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,335 IT Pros & Developers. It's quick & easy.

Http unix

P: n/a
How can i write an http client under unix?

Apr 12 '06 #1
Share this Question
Share on Google+
8 Replies


P: n/a
dj***@excite.it wrote:
How can i write an http client under unix?


Carefully.


Brian
Apr 12 '06 #2

P: n/a
dj***@excite.it wrote:
How can i write an http client under unix?

Well that depends on your skills and the help you get on a more
appropriate group.

--
Ian Collins.
Apr 12 '06 #3

P: n/a
dj***@excite.it wrote:
How can i write an http client under unix?


By using libraries that are not part of standard C and therefore are not
on topic here. comp.unix.programmer is a better place for Unix related
questions, or one of the networking groups, but I would suggest that you
probably need to do a bit of work yourself rather than asking such an
all encompassing question.
--
Flash Gordon, living in interesting times.
Web site - http://home.flash-gordon.me.uk/
comp.lang.c posting guidelines and intro:
http://clc-wiki.net/wiki/Intro_to_clc
Apr 13 '06 #4

P: n/a
dj***@excite.it said:
How can i write an http client under unix?


The HTTP/1.1 protocol is available here:

http://www.faqs.org/rfcs/rfc2616.html

With the trivial exception of the networking code, a simple client can be
written entirely in ISO C. And if you can connect your stdin and stdout to
the network (which, IIRC, is possible via inetd), you can do the whole
thing in ISO C. Having said that, you're so likely to run up against
system-specific problems (such as image display and, of course, the
networking if you're not using a stdin/stdout trick) that you'd be better
off asking this question in a Unix newsgroup such as comp.unix.programmer.
Assuming they don't just say "we already have plenty of browsers, we really
don't need another one", they may turn out to be quite helpful.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Apr 13 '06 #5

P: n/a
dj***@excite.it writes:
How can i write an http client under unix?


This is not at all topical for this NG (followups set).

However, you might look into libwww, which was written by the W3C.

http://www.w3.org/Library/

--
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
Apr 13 '06 #6

P: n/a
On Thu, 13 Apr 2006 00:40:31 +0100,
Flash Gordon <sp**@flash-gordon.me.uk> wrote
in Msg. <5o************@news.flash-gordon.me.uk>
By using libraries that are not part of standard C and therefore are not
on topic here.


Not true; it can all be done with stdin/stdout.

robert
Apr 13 '06 #7

P: n/a
Robert Latest wrote:
On Thu, 13 Apr 2006 00:40:31 +0100,
Flash Gordon <sp**@flash-gordon.me.uk> wrote
in Msg. <5o************@news.flash-gordon.me.uk>
By using libraries that are not part of standard C and therefore are not
on topic here.


Not true; it can all be done with stdin/stdout.


I didn't say it could not be done using stdin/stdout, I just said it
could be done using libraries that are not part of the standard C.
However not all unix like systems come with SW that would allow you to
connect stdin/stdout of one program to a TCP/IP port on another system
(remember, the OP wanted a client rather than server, to inetd is not
appropriate).
--
Flash Gordon, living in interesting times.
Web site - http://home.flash-gordon.me.uk/
comp.lang.c posting guidelines and intro:
http://clc-wiki.net/wiki/Intro_to_clc
Apr 13 '06 #8

P: n/a
On Thu, 13 Apr 2006 15:22:23 +0100,
Flash Gordon <sp**@flash-gordon.me.uk> wrote
in Msg. <kd************@news.flash-gordon.me.uk>
(remember, the OP wanted a client rather than server, to inetd is not
appropriate).


Oops, my bad. Of course inetd was what I was thinking of.

robert
Apr 13 '06 #9

This discussion thread is closed

Replies have been disabled for this discussion.