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,050 of 10,840   
   Shell to stated...and I   
   Re: SV: SV: Winsock what did I miss?   
   04 Dec 04 21:51:48   
   
   From: ___computerNOSPAMconsultant@mindspring.com___   
      
   In responce to the post:   
    On Sat, 4 Dec 2004 01:37:03 +0100, "Henning"   
    stated...and I replied:   
      
   >Jepp, I did send ;)   
   >The Sniffer told the package is ok   
   >When receiving to a string, it works.   
   >So, the quiz stands. What have I missed when trying the byte array. Data in   
   >pack is binary.   
   >And yes, I know the package size. It comes from a standalone mpu project,   
   >sending status changes of 8-bit ports. The 256 was just lazy ;) pkg size = 9   
   >bytes + header.   
   >/Henning   
   >   
      
   The DataArrival event fires one to many times for each transmission.   
   Even for a small packet like 9 bytes you could still be getting a   
   second firing of the event, whereby the receiving field would be   
   cleared, as well as the byte array being overlayed each time you   
   GetData.   
      
   I would bet the DataArrival event fires more than once.   
   If you change the code to allow for multiple entry of the DataArrival   
   event, you will see results.   
      
   Shell   
   -   
   http://drshell.home.mindspring.com/   
   Into computers since 1972.   
   WARNING! Information and e-mail addresses contained herein, are for personal   
   use only. By entering this site, you agree that you will use this data only   
   for lawful purposes and that, under no circumstances will you use this data   
   to: allow, enable, or    
   otherwise support the transmission of mass unsolicited, commercial advertising   
   or solicitations via direct mail, electronic mail, or by telephone. Violators   
   will be dealt with accordingly.   
   -   
      
   --- 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