r/learnprogramming • • May 27 '11

Help with getting into network programming? [C]

I recently started gaining an interest in network programming while using C. I was given an assignment by a mentor to write a program that would use an HTTP GET request on HTTP 1.0.

Let me make this clear, I am NOT asking for direct code to use. In fact, if you gave working code, I would down vote you. What I do want is articles, tutorials, general information on the subject.

I don't know much about socket programming, but if someone could tell me the concept of making an HTTP GET request I would be thankful.

I am working on Ubuntu compiling with gcc, and I was told to use the Berkeley headers.

Which functions should I look into using for performing the HTTP GET request?

1 Upvotes

6 comments sorted by

View all comments

8

u/defrost May 27 '11

0

u/[deleted] May 27 '11

[deleted] — view deleted comment

1

u/defrost May 27 '11

oh. my. well, I never.

2

u/GuanoTail May 27 '11

Thank you very much. I will look at these as soon as possible.

1

u/sausagefeet May 27 '11 edited May 27 '11

Haha. I read level exercises and wondered if you Just always suggest a healthy lifestyle. And ##c misses you defrost.

EDIT: kegel not level, stupid phone.