Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 1677
Number of posts: 4766

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Re: WINSOCK BLANK DATA Posted by scott84 on 19 Jun 2012 at 4:51 AM
Don't know if the following can be useful to someone able to help me....

I've just realized that the problem is not DataArrival, but the sub GetData. I receive 32 bytes from DataArrival, but after that GetData set the data to empty string, as it is referred in the MSDN online documentation, even if i can't figure out why.

The GetData method syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.

data Where retrieved data will be stored after the method returns successfully. If there is not enough
data available for requested type, data will be set to Empty.

type Optional. Type of data to be retrieved, as shown in Settings.

maxLen Optional. Specifies the desired size when receiving a byte array or a string. If this parameter is
missing for byte array or string, all available data will be retrieved. If provided for data types
other than byte array and string, this parameter is ignored.


Thread Tree
scott84 WINSOCK BLANK DATA on 18 Jun 2012 at 3:14 PM
scott84 Re: WINSOCK BLANK DATA on 19 Jun 2012 at 4:49 AM
scott84 Re: WINSOCK BLANK DATA on 19 Jun 2012 at 4:51 AM
scott84 Re: WINSOCK BLANK DATA on 19 Jun 2012 at 5:50 AM
scott84 Re: WINSOCK BLANK DATA on 19 Jun 2012 at 5:52 AM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.