Server program not able to send message to the client

I have created a client and server program in c++ and trying to run on Busybox both machines(server and client) can see each other using ping but when I run the program client will listen to the server(saying like it's connected) but client not able to receive the message from server.