Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

(question) Determining delivery of data to remote end

Reply
 
Thread Tools Display Modes
  #1  
Old 04-22-2007, 01:36 AM
Default (question) Determining delivery of data to remote end



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/


William Park
Reply With Quote
  #2  
Old 04-22-2007, 05:53 AM
elsiddik
Guest
 
Posts: n/a
Default Re: (question) Determining delivery of data to remote end

On Apr 22, 10:36 am, William Park <opengeome...@yahoo.ca> wrote:
> 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 <opengeome...@yahoo.ca>, 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/




A return from write doesnt make any guarantee that remote end has
recieved it.
for more inf check this -- http://www.opengroup.org/onlinepubs/...xsh/write.html

zaher el siddik
http://elsiddik.blogspot.com/

Reply With Quote
Reply

Tags
data, delivery, determining, end, question, remote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:21 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.