473,394 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Http unix

How can i write an http client under unix?

Apr 12 '06 #1
8 1794
dj***@excite.it wrote:
How can i write an http client under unix?


Carefully.


Brian
Apr 12 '06 #2
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Matthew | last post by:
How would I go about creating a simple "hello world" program that will run in Unix. I am using MS Visual C++.
5
by: jrefactors | last post by:
when people say unix programmer, does it mean they write programs in unix environment,and those programs are run in unix platform? it is not necessary they are using unix function calls? I heard...
22
by: Ryan M | last post by:
I've been programming for a while, but most of my experience is on unix. How do C compilers work on operating systems that weren't written in C? And that have no libc? Compiling C on unix seems...
18
by: Sharon | last post by:
is microsoft going to develop .Net for Unix? or at lest CLR for Unix? 10x
15
by: Alpha | last post by:
I was told that Unix API can only be called using C++, ATL and MFC. However, I was also told that C# can do that through Pinvoke to a DLL that interfaces with the Unix API. Can someone direct me...
22
by: Xah Lee | last post by:
The Nature of the “Unix Philosophy” Xah Lee, 2006-05 In the computing industry, especially among unix community, we often hear that there's a “Unix Philosophy”. In this essay, i...
7
by: yang__lee | last post by:
Hi, I have been programming c, c++ on windows. What is the difference in programming on Unix.. are there different syntaxes, functions on Unix. what are mandatory different steps on unix....
65
by: Hongyu | last post by:
Dear all: I am trying to write to a file with full directory name and file name specified (./outdir/mytestout.txt where . is the current directory) in C programming language and under Unix, but...
1
RRick
by: RRick | last post by:
I have a unix C++ project that needs to be converted over to windows visual studio. I'm not sure of the exact version of VS, but it's a recent version, probabIy 2003 or 2005. I would like the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.