Results 1 to 3 of 3

Thread: Winsock Sending Problem

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2007
    Posts
    3

    Question Winsock Sending Problem

    Does anyone know about it ?
    I have created project with winsock for sending images. Only one server and mulit-clients with ocx. First clients request connection, it load all images from Server, it works. After that Server update some images and send to clients again but it cannot send. I did not know why? I tried to put break point for debuging , it works and send all images but after I took break point off, it cannot send. I tried to put msgbox in the function for show images name, it show message box and then I click it one by one. It works and send all image. But unfortunately I cannot do like this. I must took it off.

    Does anyone have the good suggestions ?

    The problem is in the Server 's source code for send to clients. And it is very big size with images so I use buffer for sending as byte and use timer for help. How to solve this problem ?

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Winsock Sending Problem

    It seems if you stop it after each send it works, so perhaps try implmenting the Sleep API in your code.

  3. #3
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    Re: Winsock Sending Problem

    Post the code your using....

Posting Permissions

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



Click Here to Expand Forum to Full Width