Thanks!
I managed to send a string to a Java program running on my destop using sockects. But, I'm using this code to send see:
os.WriteBytes(texto.GetBytes("ASCII"), 0, len)
But before sending this string I want to send an int with the size of that string. So, how can I send an int ?
Supose my string having this value texto = "String", this string has 6 chars, so I need to send the number 6 on the firsts 4 bytes as an INT has 4 bytes,
how can I do that? Thanks!