If it helps any - Granted this is now talking about serial ports vs
networking:
In another part of the project I communicate with a VHF radio via RS232
serial port. In this code I Write Byte[] information to the radio and
that works perfectly. Because of the way the radio replies I Read single
Change the types to simple strings and both client and serversocket run
perfectly.
If the server socket sends a String[] as below and the client attempts
to Read as String[] the client dies in debugging with a signal 11 crash.
If I change to object[]'s both client and server crash with signal
> Hi Everyone...
>
> Once again a silly basic question - the answer to which is eluding me:
>
> I am trying to send a string[] of data from one computer to another
>
> THUS on the server side:
> Public Sub MessageClients(myMessage As String[])
>Dim varSocket As Socket
>For Each varSo
http://gambasdoc.org/help/comp/gb.net/socket?v3
http://gambasdoc.org/help/lang/split?v3
I don't think client knows how to split string to array, so you have to do
it your self.
Jussi
On Sun, Jan 23, 2011 at 11:39, Anthony Ivan
wrote:
> Hi Everyone...
>
> Once again a silly basic question - th
Hi Everyone...
Once again a silly basic question - the answer to which is eluding me:
I am trying to send a string[] of data from one computer to another
THUS on the server side:
Public Sub MessageClients(myMessage As String[])
Dim varSocket As Socket
For Each varSocket In Clients