I forgot to tell you. There is no function to know received data is a file data or just a text.
I suggest you to see RFC959 (File Transfer Protocol) as an example.
http://datatracker.ietf.org/doc/rfc959/
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Threaded View
|
Click Here to Expand Forum to Full Width |