Hello!
Well,like the title says,I was wondering what is the difference between those functions.Don't they do the exact same thing,write data to socket?
This is a discussion on What is the difference between socket functions write() and send()? within the Linux Programming forums, part of the Platform Specific Boards category; Hello! Well,like the title says,I was wondering what is the difference between those functions.Don't they do the exact same thing,write ...
Hello!
Well,like the title says,I was wondering what is the difference between those functions.Don't they do the exact same thing,write data to socket?
AFAIK, they're only equivalent when the last param of send() is zero.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.