I need to create a client-server example over TCP. In the client side I read 2 numbers and I send them to the server. The problem I faced is that I can’t convert from
int , because the communication accept only data of type
Is there any way to convert
int or I can send
int to the server?
Some sample code will be really appreciated.