Big files corrupted winsock send
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
    Posts
    57

    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
    Location
    Timisoara, Romania
    Posts
    14,360

    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
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center