Networking Forums

Networking Forums > Computer Networking > Linux Networking > (question) Determining delivery of data to remote end

Reply
Thread Tools Display Modes

(question) Determining delivery of data to remote end

 
 
William Park
Guest
Posts: n/a

 
      04-22-2007, 12:36 AM
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/
 
Reply With Quote
 
 
 
 
elsiddik
Guest
Posts: n/a

 
      04-22-2007, 04:53 AM
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

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
determining the cause of data transfer weirdness jm Linux Networking 4 03-10-2009 01:06 AM
transfer data to remote sql db ? scott Windows Networking 0 03-30-2006 10:03 AM
Question on broadcast data encryption using WPA sec123 Wireless Internet 3 09-19-2005 06:59 PM
Integrating GIS and Remote Data Acquisition into Your Mobile Solutions Johann Blake Wireless Internet 0 12-05-2003 08:49 AM
Newbie - Data Center Network setup question Please help. Linux_Newbie Linux Networking 4 10-01-2003 05:07 PM



1 2 3 4 5 6 7 8 9 10 11