this is what I have now:
I'm sending UDP from the application to the server
the server is listening , when he get message he check if the string is OK (no spelling mistake) according to my setting
in the server side - if there is a problem in the string I get an exception
I want to be able to send this exception also to the application , so the user will also know there is a problem
example :
APP sending: "A12345A"
Server : string is OK - send to APP "OK
APP sending "A12A"
Server : string is not OK , Send to APP "bad message!,check";
Thanks,