send string to TCP server on specific port

i can connect to the server on port 8000 and it seems to be sending data according to what i can see in serial monitor but its not sending the string as it should be sending .. it maybe converting the data ?

Please help if you can as i think i maybe using wrong syntax to send the string i want to send.
"bank-press 99 1" is the string i want to send and i am using

client.write ("bank-press 99 1");
also tried
client.println ("bank-press 99 1");

but neither of them seem to be doing it.

attached is my full sketch, i am fairly new to coding and Arduino so any help would be appreciated

Novastar_Buttons_15_11.ino (3.1 KB)

Is the server another Arduino?
If so, show the code.

If it's a PC then install wireshark and use a filter such as "ip.src == 192.168.1.252" to see if any data is being received..

you don't read the data from the client object