LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-24-2005, 02:22 PM   #1
firefly2442
Member
 
Registered: Apr 2003
Location: USA
Distribution: Ubuntu
Posts: 95

Rep: Reputation: 15
VC++ .NET WinInet Alternative?


Hello, is there an alternative to using WinInet in VC++ .NET? Thanks.
 
Old 04-25-2005, 06:55 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Alternative in the Linux world? Or an alternative to using WinInet that still works in Visual C++? If your asking about the Linux world, what exactly does WinInet do (ya.. I'm pretty Windows stupid)? I'm sure if I knew what it did I could point you to the Linux alternative
 
Old 04-25-2005, 09:19 AM   #3
firefly2442
Member
 
Registered: Apr 2003
Location: USA
Distribution: Ubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
Alternative to WinInet in the windows world. WinInet is basically a control for http and ftp transfters, getting files and information on the internet. I'm using VC++ .NET and I can't seem to find an easy way to get the size of a file online. I'm sure there's a very easy way to do it in Linux but this is for a class. Thanks for the post.
 
Old 04-25-2005, 09:28 AM   #4
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 32
There is a WinInet API in Windows, that I believe the .Net class is just a wrapper for. I don't remember any of the functions offhand, though.

Another alternative is to use plain sockets and do all the HTTP/FTP protocol work yourself. More work, but it's a good learning experience. You can find the HTTP and FTP protocols in one of the many RFCs available. (Search http://www.faqs.org/rfcs, or look at RFC 3600 for a list of RFCs covering various protocols.)

Last edited by deiussum; 04-25-2005 at 09:29 AM.
 
Old 04-25-2005, 12:30 PM   #5
Kdr Kane
Member
 
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357

Rep: Reputation: 30
http://www.linuxquestions.org/questi...hreadid=316169
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sourceforge.net berlios.de alternative? win32sux General 4 09-21-2005 04:15 PM
net view/net use rogk Linux - Networking 2 06-22-2004 04:35 PM
freshrpms.net & rpmfind.net are down! JoeyJoeJo General 4 08-28-2003 05:05 PM
Alternative for rpmfind.net? eross Linux - Software 6 06-24-2003 05:47 PM
idea: sharing net connection, method: iptables..., problem: broken net connection :( danny2055 Linux - Networking 4 06-09-2003 07:00 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration