Unix Programming - UFTP source code

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > January 2006 > UFTP source code





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author UFTP source code
smarto59@hotmail.com

2006-01-18, 5:55 pm

I want to learn more about TCP functions and how it is relaible
protocol.
So I thought the best way to do that is to look at a code that
implements
reliable file transfer over the unreliable transport such as UDP.
Though Im comfortable with C language I need source code that
implements
TCP functionalaties using UDP socket If anyone knows.
thanks in advance.

Nils O. Selåsdal

2006-01-19, 2:57 am

smarto59@hotmail.com wrote:
> I want to learn more about TCP functions and how it is relaible
> protocol.

The easiest would perhaps be to read the RFCs ?
Or for a great overview, get the "TCP Illustrated" vol1&2 books.

> So I thought the best way to do that is to look at a code that
> implements
> reliable file transfer over the unreliable transport such as UDP.

They usually don't implement the more complex parts of tcp, e.g.
congestion avoidance, or segmentation of the application protocol.
> Though Im comfortable with C language I need source code that
> implements
> TCP functionalaties using UDP socket If anyone knows.
> thanks in advance.

Find some TFTP implementations, they're small and easy to understand
usually.
Mark Hobley

2006-01-20, 6:03 pm

smarto59@hotmail.com wrote:
> I need source code that implements
> TCP functionalaties using UDP socket If anyone knows.
> thanks in advance.


Why do you need this?

If you need TCP functionality, why not use TCP sockets?

Regards,

Mark.

--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE

Telephone: (0121) 247 1596
International: 0044 121 247 1596

Email: markhobley at hotpop dot donottypethisbit com

http://markhobley.yi.org/

Barry Margolin

2006-01-21, 2:49 am

In article <1408a3-aq2.ln1@neptune.markhobley.yi.org>,
markhobley@hotpop.deletethisbit.com (Mark Hobley) wrote:

> smarto59@hotmail.com wrote:
>
> Why do you need this?
>
> If you need TCP functionality, why not use TCP sockets?


Read the first line of his message, he's trying to learn how it works,
not just use it.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com