Skip to content

A classical Unix multi-thread server and client in C language using sockets.

Notifications You must be signed in to change notification settings

AghaSaad04/UDP-TCP-File-Transfer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UDP and TCP File Transfer Program

Introduction

This project is a way for me to practice what i learned in university about unix administration and network.

The project is composed of two folder representing the two way to send a file using the local network. User have to give args to the program to use it : IP Adress, Port, File to send.

Prerequisites

A unix distribution and a C compiler : gcc.

Installation

Download and install the package

  • Download zip file from gitHub here
  • Unzip it where you want

How to compile the applications (Quick mode !)

  1. Navigate to the right folder UDP or FTP with a console.
  2. Enter :
make 

Ready !

You can now use the program client to send your file and server to receive the file.

Example session

./client <IP-server> <port> <filetosend>
./server <port>

About

A classical Unix multi-thread server and client in C language using sockets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.6%
  • Makefile 6.4%