file transfer protocol (not FTP) examples
file transfer protocol (not FTP) examples
- Subject: file transfer protocol (not FTP) examples
- From: "Philip D. Wasson" <email@hidden>
- Date: Thu, 26 Jun 2003 18:33:13 -0400
Hi,
Can anyone point me at any documents that contain examples of or
discuss issues related to sending files over TCP? I need to implement
file-transfer in a product (custom client and server). I guess I'm
mainly wondering how much I should be trusting TCP to detect errors and
keep the bytes in order. Is it really safe to essentially tell the
receiver "OK, the file is this many bytes long, sending now." and then
just dump the file into the socket (in reasonably-sized buffer-loads,
of course). Should I need to worry about sliding windows, block
retransmission, etc., or will TCP take care of all that reasonably
well? Any suggestions?
TIA
----------------------------------------
Philip D. Wasson
Senior Software Engineer
Managing Editor Inc.
email@hidden
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.