A client wants to send a request to server for checking that a string palindrome or not so , you have to make a server-client application, in which client to the server and server resend the response in which it tells that given string is palindrome or not . ( Do your taste with serialization method in which either you can use built-in class string or make your own string class ) . ?

As I read https://www.google.com/search?q=A+client+wants+to+send+a+request+to+server+for+checking+that+a+string+palindrome&ie=utf-8&oe=utf-8 it appears you didn't tell all. That is, this is your homework or code challenge. As such you need to read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question

In short, your post looks like a copy/paste of some homework.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.