Code Monkey home page Code Monkey logo

network-programming's Introduction

Network-Programming

Network Programming Practice
Following some documents & http://mobilelab.khu.ac.kr/wordpress/fssn/?vid=14

Goal:

Information Exchange

[L4] Socket Programming w/Python

  • python echo-server.py
  • python echo-client.py
  • netstat -an - Viewing Socket State

realpython/python-sockets
Socket Programming w/C

이미 LISTENING 상태인 포트를 쓰고 싶다면?

  • Get PID Get-Process -Id (Get-NetTCPConnection -LocalPort 포트#).OwningProcess
    -> KILL taskkill /F /PID PID#

[L7] Zero Message Queue

Kernel -> Application



ZeroMQ
ZeroMQ Github
PyPI pyzmq


[L7] HTTP

메시지 기반 요청 - 응답 구조

  • Resources: Media-Types (Content-type, ..), URI
  • Transactions: HTTP Methods, Status Code
  • Methods: GET, HEAD, PUT, POST, TRACE, OPTIONS, DELETE
  • Monolithic vs SOA vs Microservice
  • SOAP(XML) vs REST(JSON)

/1.1

  • Connections: HTTP over TCP/IP and TLS/SSL, Proxy
  • GET(R), PUT(U), POST(C), DELETE(D)

/2

/3

UDP 위에서 동작하는 (+ TCP에 상응하는) QUIC[L4]
QUIC Working Group

Summary

  1. HTTP/1.1 - ASCII over TCP
  2. HTTP/2 - Binary multiplexed over TCP
  3. HTTP/3 Binary over Multiplexed QUIC

WebRTC

Web P2P Real Time Communication

webrtc.org
mdn web docs > Web APIs > WebRTC API

network-programming's People

Contributors

hnnynh 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.