GithubHelp home page GithubHelp logo

ipk-proj2's Introduction

Program for file transfer

Author: David Kozák, xkozak15

Client server app written in C++ that allows file transfer. It uses a custom protocol that was designed as part of the assignment.

Compile the project using make Clean the project using make clean

Files

  • ./protokol.pdf - description of the communication protocol

  • ./protokol_parser - module for creating and parsing messages

  • ./socket_handler - module working with sockets, sending and receiving messages

  • ./server - module implementing the server

  • ./client - module implementing the client

  • ./test.sh - test file demonstrating the funcionality

  • ./create_test_dirs.sh - helper script which creates the structure for testing, which looks as following

    • ./testdir - root directory
    • ./testdir/server - executable file starting the server
    • ./testdir/client{1-9} - directories for individual clients
    • ./testdir/testfiles - directory with files used in testing
  • ./testfiles/* - files used in testing

  • ./Makefile

Usage

./client -h hostname -p port [-d|-u] file_name
	hostname - name/ip address of server
	port - port number
	-d download, -u upload
	file_name - file to transfer

./server -p port
	port - port number on which the server should listen

ipk-proj2's People

Contributors

d-kozak avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.