Halo,
How is everyone?
Ja, well okay um i have been looking at the TCP/UPD example in Thinbasic samples.
In the code there is a function that is used to send a data packet declared as sMessage
Client Side
gData.InfoData.iBroadcast.sMessage = "Something"
This is what the client sends to the server.
I am struggling, with getting the IF statement working, what i want to do is that on the server side if a message for example "Somthing" gets received it should respond by creating a MsgBox 0, "success!"
Server Side
If gData.InfoData.iBroadcast.sMessaget(CBHNDL) = "Something" Then
MsgBox(0, "success?")
I have to get it so that if the message is received that it displays the msgbox.
Thanks for the help in advance
Bookmarks