File transfer program!! [message #168842] |
Sun, 23 April 2006 14:22 |
vishamr2000
Messages: 18 Registered: April 2005
|
Junior Member |
|
|
Hi to all,
I need some help with the following C program that runs on Linux:
1) The server part:
The program is invoked via console where parameters are passed to it. The parameters will include a path to a file (of type .sh) and the ip addresses to which to send that file. The program has to wait for acknowledment from the destination host that the latter has received it, and then terminate.
2) The client part
The program runs in the background as a daemon and waits for any new packets destined for it. When it receives the file, it executes it. It also has to send an acknowledment of receipt to sender host.
How can I do that?
Any help will be much appreciated..
Warm regards,
Visham
|
|
|
|