home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 12,869 of 14,669   
   pk to Bill   
   Re: FTP over TCP/IP Programming examples   
   21 May 09 18:05:18   
   
   335e3e65   
   From: pk@pk.invalid   
      
   On Thursday 21 May 2009 17:36, Bill wrote:   
      
   > Hello All,   
   >   
   > I am new to network programming and am curious to see some examples of   
   > TCP/IP implementation in C or C++.   
      
   "TCP/IP illustrated", volume 2. Or any of the stacks implemented in OSes   
   whose source code is available (I suggest to read the book first though,   
   because it's thoroughly commented and explained).   
      
   > Also I am interested in FTP file transfer over Ethernet (TCP/IP). Can   
   > someone please point me to some documentation or books or your personal   
   > comments on "How exactly a file (binary) is fragmented at the sender end   
   > and recovered at the receiver end?".   
      
   It isn't. FTP uses TCP, which treats data (from the application point of   
   view, at least) as a single stream. If you're talking about lower levels,   
   fragmentation basically depends on the link MTU (much simplified). IP is   
   the protocol that handles fragmentation and reassembly. The process is   
   documented in RFC 791 for IPv4 and RFC 2460 for IPv6.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca