Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27501

VS 2012 Express: Dim bytesFrom(10024) As Byte

$
0
0
I am attempting to teach myself some new techniques with VB.NET. which will be a TCP/IP Server/Client setup...and no it will not be a chat application. It will allow a client to fill out a form, transmit the form data to the server for processing. In most of the examples I'm studying I see this line repeated:

Code:

Dim bytesFrom(10024) As Byte
So can anyone explain to me in simple terms what this is actually doing. I know what Dim command does but the number in the parenthesis is what I need more info on. The string I'm sending will consist of 36 fields, mostly 1, 0, True, etc... and a few with integers, a few with short strings. I will concatentate them all together with the | delimiter and process it on the server end. I'm concerned that this number may need to be changed if my app grows to include more information in the data stream.

Viewing all articles
Browse latest Browse all 27501

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>