View Single Post
Old 04-20-2002, 10:30 PM  
Chatterbox
Registered User
 
Join Date: Apr 2002
Posts: 39
c, djgpp, winsocks....anyone know?

I know some basic perl hacking and am knocking my head on the keyboard trying to learn C on windows.

To connect to a website using perl is really easy, I just use something like this:

$socket = IO::Socket::INET->new(PeerAddr => "www.url.com",
PeerPort => 80,
Proto => "tcp",
Type => SOCK_STREAM);

Can anyone clue me in on how to do this using C and DJGPP? Thanks... ;-)
Chatterbox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote