|
Home > Archive > Unix Programming > May 2004 > Sockets
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]
|
|
|
| Hi,
I am would like to make a program (for file sharing), where I want
to transfer any type of files from one client to another client. I
should make use of the TCP/IP protocol. Which system calls should I
try to use to make the opearation work correctly.
Thanks in Advance
| |
| David Schwartz 2004-05-20, 5:37 pm |
|
"Xarky" <bernardpace@yahoo.com> wrote in message
news:bc42e1a.0405200919.23693058@posting.google.com...
> I am would like to make a program (for file sharing), where I want
> to transfer any type of files from one client to another client. I
> should make use of the TCP/IP protocol. Which system calls should I
> try to use to make the opearation work correctly.
You have to crawl before you can walk. Learn as much as you can about
TCP before you even think about file sharing. Study protocols that are
already used to share files over TCP, such as HTTP and FTP. Start out by
writing a program that just makes a connection to a web server. Or maybe a
program that just accepts a connection from a browser.
DS
| |
| Barry Margolin 2004-05-22, 10:27 pm |
| In article <bc42e1a.0405200919.23693058@posting.google.com>,
bernardpace@yahoo.com (Xarky) wrote:
> Hi,
>
> I am would like to make a program (for file sharing), where I want
> to transfer any type of files from one client to another client. I
> should make use of the TCP/IP protocol. Which system calls should I
> try to use to make the opearation work correctly.
Get the book "Unix Network Programming, Vol.1". It explains how to use
all the Unix system calls for networking with TCP/IP.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
|
|
|
|
|