Click here to Skip to main content
15,902,636 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I need help. Could someone do some changes in this project Beginning Winsock Programming - Simple TCP client[^] I need to convert it to simple [C] console app. The program should download any file by writing an URL in console and download it to HDD. I'd searched a lot of web pages but I can't find any programs, I am beginner with sockets and don't have much time to do it. It's for my lessons in Secondary School and it's very important. Please help me. I can't use any advanced libraries like curl, only sockets.
Posted
Updated 12-Jan-11 9:42am
v2
Comments
Dave Kreskowiak 12-Jan-11 15:54pm    
If you don't have the time, what makes you think we do?
@nuraGGupta@ 12-Jan-11 23:26pm    
You have to make some changes in an existing article, and that too you want to be done by others? I will suggest you that start from basics if you want to grab things quickly, otherwise copying and pasting will never be fruitful.

The articles in The Code Project are there to demonstrate algorithms, methodologies and the like.

You are supposed to take the information that the article provides and implement it in whatever way you want.

If you are unable to do that in this case then I would suggest that you practice your googling skills for each part that you have difficulty with.

The answers are out there. It is your mission, should you decide to accept it, to find them.
 
Share this answer
 
We are not here to do your homework. Remember that we are professional developers, many of us senior level and above. We mentor recent graduates and junior developers all the time. I personally do not want to have to mentor a graduate who gets their marks by harvesting solutions from others. I want graduates who actually try and solve problems because they will learn and quickly know what they are doing. The others are a waste of a cubicle. Besides, I think any mentor out there would agree with me that you need to do this yourself first. That is why YOU get the mark.
 
Share this answer
 
Comments
Espen Harlinn 16-Jan-11 8:58am    
5+ To the point :) John shouldn't be the only one to get points ...
Nish Nishant 20-Jan-11 20:09pm    
Wow, that's my article. From almost 9 years ago :-)
Incidentally I happen to have authored that article and code some years ago. You'll find it quite trivial to copy all that code into a C console application. The winsock/network code is mostly written in C (at that time my C++ was bad enough that I mixed C and C++ all the time). Try something out, and if you run into specific issues, feel free to post here and I'll be glad to help out unless others help you before I see your questions. :-)
 
Share this answer
 
v2
Does "don't have time" actually mean "waited until it was too late"?

The point of the assignment isn't to copy someone else's work - it's to do the work yourself.

 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 12-Jan-11 16:03pm    
You're tough, but absolutely right - a 5.
Thanks, I've done it :) My program downloads files but some of them are still unable to read. My colleague told me it's the problem with metadata. How could I fix it?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900