It's not a homework. But, I didn't come out of CS, so...
Suppose I send a char to a remote machine. How do I know it received
it?
- If I write(2) to a socket and check that it returns 1 byte
written, is that sufficient to determine that the remote end
received it?
- Or, does the return value of write(2) simply means it put the char
in the outgoing buffer?
--
William Park <(E-Mail Removed)>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
http://freshmeat.net/projects/bashdiff/