Hi ,
I am having a structure,
structure mine{
char SPI[6];
char authvalue[16];
int client;
};
Here I am putting the values for auth,SPI & client.
I need to to send this structure to other pprogram.( I am using socket proigramming)
auth value -1234567890123456
SPI=200
client -1
I am copying these values in to my above structure
But ,,My structure is sending
authvalue-1234567890123456200
SPI=200
client =1
how can I overcome this auth value problem..?
any solution?