CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Big files corrupted winsock send

  1. #1
    Join Date
    Sep 2009

    Big files corrupted winsock send

    I have a program that sends files between 2 computers. I'm using winsock to send the files using the send function. The program works great for small files. But when I try sending large files, they become corrupted. Can anyone tell me why is this happening and how to send large files over TCP without corrupting them?

  2. #2
    Join Date
    Oct 2002
    Timisoara, Romania

    Re: Big files corrupted winsock send

    Well, you probably should send them just like you send the small ones, in small chunks. It's probably impossible to tell what the problem might be without seeing some code.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)