0

Hi there, hope you guys are having a good start of 2011.

I want to download the html code of any article on wikipedia. I am able to find wikipedia's ip and establish a connection, but how do i reach articles? also i tried using send() and recv(), i was able to send streams of data but when i tried to receive, the function returns 0, meaning wikipedia closed the connection.

I only started working with network programming a couple of days ago so please bear with me.

1
Contributor
1
Reply
3
Views
6 Years
Discussion Span
Last Post by Benkyou
0

Hi there, hope you guys are having a good start of 2011.

I want to download the html code of any article on wikipedia. I am able to find wikipedia's ip and establish a connection, but how do i reach articles? also i tried using send() and recv(), i was able to send streams of data but when i tried to receive, the function returns 0, meaning wikipedia closed the connection.

I only started working with network programming a couple of days ago so please bear with me.

Update: Turns out im not having problems with the code. In the unix console when i try to connect, it gets established aswell and then suddenly dropped. So this is no longer a c problem, should i mark the thread as solved? new to this.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.