GithubHelp home page GithubHelp logo

oguzhanagkus / communication-networks Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.74 MB

Mobile Communication Networks course projects - includes simple web server, UDP pinger, STMP client

Python 98.46% HTML 1.54%
web-server udp udp-server udp-client heartbeat mail-client multithreaded-server network socket-programming

communication-networks's Introduction

Mobile Communication Network Projects

Web Server

This project is simple web server that can accept HTTP request packages and send response them. It does not use httplib or another library. It uses only TCP sockets. The server accepts only GET requests and return only index.html page. Additionally, the project includes a client code that can send HTTP requests. Real web servers are multithreaded programs. Each thread handle another client. This project is upgraded to multithreaded web server too. But it is so simple.

UDP Pinger

This project is simple pinger that can send and some packets and measuere time between sending and recieveing. It uses UDP instead of ICMP. It has 1 second timeout value for each packet. To simulate packet loss, the server randomly drop some packets.

Another application for UDP ping is UDP heartbeat. You can monitor a remote app by using this mechanism. Client send signals peridically and server collect this signal. If there is no signal for a while, it means client is has been stopped.

Mail Client

This project is simple mail client that can send emails to any reciepent. It does not use smtplib or another library. It establish a TCP connection with your mail server. Then communicate with SMTP commands. Before you run enter your authentication information and set mail server information. Also if any encryption method available, it starts SSL session. Most modern and popular mail servers (Gmail or Office 365) force you to use TLS. Additionally, you can send images as attachment.

communication-networks's People

Contributors

oguzhanagkus avatar

Watchers

 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.