|
-
Sep 21st, 2000, 05:33 AM
#1
1)
How do I use winsock with C++?
do I have to use the API's?
if so, can you give me an example on how?
Thanks,
2)
stuff;
I know I have asked this before, but how do I make a FULL windows program without MFC???
Parksie gave me some classes he wrote, I am sure they work great, but they are confusing for me, and I want my programs to be written completely by me.
Thanks a lot.
PS:
How would I make an FTP, and/or a download resumer using C++ and winsock??
Thanks,
Dennis
-
Sep 21st, 2000, 12:18 PM
#2
Monday Morning Lunatic
I'm sure I sent you some separate code about them - I can send them again if you need.
To use Winsock, you need the APIs, which are documented in the PSDK.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 21st, 2000, 02:24 PM
#3
Addicted Member
Isnt the winsock
use for c++ defined in a header file??
I was looking at some code for port scanners and stuff liek that..and i had something like <sock.H> Something like that.
isnt that how you use the winsock control in a c++ app?
-
Sep 21st, 2000, 04:18 PM
#4
Monday Morning Lunatic
In C++ you don't usually use the Winsock control, since it's easier to use the API. I think it's in <winsock2.h>.
PS - use Winsock2 rather than the original Winsock, since it has better support and is generally better.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|