write() and send() solving errors => difference?
could be any difference in solving errors between this two functions?: To this question brought me another question ... is number of characters always same as number of bytes? For more info: I use it in C on Linux for TCP socket comunication(sys/socket.h) Thanks for your responses. send() write() Return: write(): On success, the number of bytes written are returned (zero indicates nothing was written). On error, -1 is returned, and errno is set appropriately. If count is zero and the file descriptor refers to a regular file, 0 will be returned without causing any other effect. For a special