Receive method is used to get data received from server,
and store it to your program. It can be used only after
event is fired (in blocking mode it can be used at any
time). Received event will provide information about total
number of bytes received and waiting to be read by your
program. You can use that value for Count parameter.
Type parameter should be
vbString (8) which means that returned type will
be string, or else it should be vbByte (17) or
vbArray (8192) which means returned data should be
byte array. Depending on your choice, you should store it
to appropriate variable.
If no parameters are specified, Receive method will
returned everything received from server, as string type
In blocking mode, Receive method will block until specified
amount of data arrives, or until
expires. If timeout expires, you will get an error, but you will
still be able to send new data to the server because connection will
not be terminated.