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:
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.
Code:
Dim bytesFrom(10024) As Byte