CAN any one help me writing a C Program

I need to send a Http request to Http audio streaming server

get connect

if server requires authentication (then again send user name and password)

if authentication is OK

get the audio stream downloaded on to a folder

Else

If server dose not requir authentication then

get the audio stream downloaded on to a folder

Recommended Answers

All 3 Replies

http://curl.haxx.se/libcurl/
Would take care of a lot of the lower level details of HTTP.

Yep the cURL API will make ur job more easier by handling lower level tasks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.