• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
file transfer protocol (not FTP) examples
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: crash when Notifier installed
  • Next by Date: Implementation of BSD Socket for Network Communication
  • Previous by thread: crash when Notifier installed
  • Next by thread: Implementation of BSD Socket for Network Communication
  • Index(es):
    • Date
    • Thread