Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
C help on making ur program access the internet !!!?
i just wanted to know if you could make your program acces websites (i don't want to make a browser, just want to check the html code)
e.g. http://khushman1.googlepages.com/example...
the above pages html code is 1212 , so how to make the program store that in a variable e.g. 'a'
1 Answer
- tflotoLv 61 decade agoFavorite Answer
In c programming you use sockets to access an internet connection. A socket lets you create and open a connection to a site by its url name and port number. you can then read the files at that site as text files. Most websites are at port 80. Ftp, telnet and email are at other sites. Check out the wiki below for more about sockets and ports.
Source(s): http://en.wikipedia.org/wiki/Internet_socket http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_p...