PDA

Click to See Complete Forum and Search --> : Also winsock problem


greatone
Jul 14th, 2000, 06:24 AM
Hi,

I am using the winsock control in an ftp program.

When I use this:

wscControl.GetData strData

it gets the data but cuts it off.

When I put a breakpoint on it and wait a few seconds and than go on then it gets all the data. Does somebody have a solution or a function that will wait a bit to get all the data?

the use off the function sleep or other ways don't work.

greetings
greatone

Cerksees
Jul 14th, 2000, 11:32 AM
There was an error with the winsock control shipped with Visual Studio that resulted in the data being truncated.

This has been fixed in the Visual Studio Service Pack 4. you can get this from :

http://msdn.microsoft.com/vstudio/sp/vs6sp4/full.asp?id=01

Let me know if this fixes our problem...