home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,059 of 10,840   
   Steve Gerrard to Shell   
   Re: SV: Winsock what did I miss?   
   05 Dec 04 16:17:45   
   
   From: mynamehere@comcast.net   
      
   "Shell" <___computerNOSPAMconsultant@mindspring.com___> wrote in message   
   news:rp67r0lehrhhmi6vd7crshgjpo9o3c8jn8@4ax.com...   
   |   
   | Duh (to myself), you are in fact right.  It's been over 3 years since   
   | I programmed with the winsock control.  I also remember that the   
   | GetData function does not always get ALL the data.  It, at times, must   
   | be called many times to receive the full data stream.  In fact, I've   
   | had it called thousands of times to pass large files, with DoEvents   
   | stuffed in to avoid the potential timeout problems.   
   |   
   | Regards,   
   | Shell   
   | -   
      
   Yes, DataArrival may occur multiple times for a large transfer, and you   
   get no indication of the total size coming at you. I think the packet   
   size is basically whatever is used by the network. I seem to remember   
   sending a "header" that indicated the total transfer size, so the   
   receiving end could process the stream appropriately.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca