Advertisement

Sending Files With Winsock

Started by November 15, 2005 05:34 PM
12 comments, last by hplus0603 19 years, 3 months ago
In my game authentication article I suggest using Tiger hash for authentication, because MD5 is starting to show its age. If you're doing authentication, then that's a good article to start with. (However, I'd recommend you look at existing implementations such as Kerberos, for actual code)
enum Bool { True, False, FileNotFound };
Well you could try TransmitFile.

Seems to be pretty close to what you want ;)

To authenticate people already mentioned hashing but since your download from your own server that really shouldn't be that much of a problem.
HardDrop - hard link shell extension."Tread softly because you tread on my dreams" - Yeats
Advertisement
The UNIX equivalent is sendfile(), although it's implemented slightly differently on different UNIX-es (where some allow you to use writev-style scatter/gather to prepend headers, etc).
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement