I am sending data from a server to a client using UDP. I am getting the data from a database. The first string is the user's name and I am trying to send it to the client for showing it on the homepage. Something like: Welcome <name>.
For sending it using UDP I have to change it to byte.
You did help. You made me realize that I have to find another way of doing it. I searched the net for it and found nothing.
So, when I saw this article I found the solution. I saw it before but I didn't think of it. The problem is that I have many strings. I have to make a byte array for sending the data. So, what I did is to merge all the strings with concat function and then send the byte array. Ta-da!! It worked!
Thanks Dean_Grobler! I really appreciate your help :)