Hi,
i have client and server connection i using serverSocket and AsyncStream.... now my client are add into tableview and ok! but i want send a command to a specific client....
my approach:
how can I do?
thanks
i have client and server connection i using serverSocket and AsyncStream.... now my client are add into tableview and ok! but i want send a command to a specific client....
my approach:
B4X:
Sub manna(message As String)'routine send data/streaming
Try
For Each row() As Object In tbl1.SelectedRow
Dim mexB() As Byte
mexB = message.GetBytes("UTF8")
astream.Write2(mexB, 0, mexB.Length)
next
Catch
Msgbox.Show(LastException.message, "Error!")
End Try
End Sub
how can I do?
thanks