how to get the exact size when i send the image using send()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dear all,
how to send the image file using sockets,i want to get the exact size in the client side.i was using the send the image file as 1 bit at a time.at the receiving end i got additional zeros.can anyone tell me the solutions.
thanks


with regards,
C.Muruganandam



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux