Hi friends,
I am trying to send NULL character inside a string over tcp socket.
It is sending all other characters except NULL character.
When typecast from int to char, all integers are typecasted to char except int 0.
In my code I want the variable m1 (see line 73) to contain null character with strlen as 1.
I have attached the C program at the end. juct click on .c to view it.
Thanks and regards,
Ajit