Android Question Where to get information about a library?

Vinians2006

Active Member
Licensed User
Longtime User
I need a complete information about Socket and ServerSocket objetct, where can I find it?
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Vinians2006

Active Member
Licensed User
Longtime User
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:
B4X:
 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!
 
Upvote 0
Top