|
-
Dec 19th, 2007, 05:54 AM
#1
Thread Starter
New Member
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 ?
-
Dec 20th, 2007, 08:15 AM
#2
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.
-
Dec 20th, 2007, 08:36 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|