kavindaperera / network-programming

Network Programming in Java using Sockets and Netty framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🌐 Network Programming

Welcome to the Network Programming repository! This repository contains various examples and exercises related to network programming, primarily using Java.

πŸ“‹ Table of Contents

πŸ“– Introduction

This repository is a collection of network programming examples designed to help you understand and implement network communication using Java. It includes examples such as TCP echo server and client, UDP communication, and other common networking tasks.

πŸ› οΈ Prerequisites

To run the examples in this repository, you will need the following:

  • β˜• Java Development Kit (JDK) 8 or higher
  • πŸ–₯️ A code editor or IDE (e.g., IntelliJ IDEA, Eclipse, VSCode)

πŸ—οΈ Setup

  1. Clone the repository:

    git clone https://github.com/kavindaperera/network-programming.git
  2. Navigate to the project directory:

    cd network-programming
  3. Open the project in your preferred IDE or code editor.

🌳 Repository Tree

πŸ“¦ 
β”œβ”€ .gitignore
└─ network-programming
   β”œβ”€ network-programming.iml
   β”œβ”€ pom.xml
   β””─ src
      β”œβ”€ main
      β”‚  β””─ java
      β”‚     β””─ com
      β”‚        β””─ nova
      β”‚           β”œβ”€ basicsockets
      β”‚           β”‚  β”œβ”€ InetAddressExample.java
      β”‚           β”‚  β”œβ”€ tcpsockets
      β”‚           β”‚  β”‚  β”œβ”€ TCPByteToByteEchoServer.java
      β”‚           β”‚  β”‚  β”œβ”€ TCPEchoClient.java
      β”‚           β”‚  β”‚  β””─ TCPEchoServer.java
      β”‚           β”‚  β””─ udpsockets
      β”‚           β”‚     β”œβ”€ UDPEchoClientTimeout.java
      β”‚           β”‚     β”œβ”€ UDPEchoServer.java
      β”‚           β”‚     β”œβ”€ UDPReceiver.java
      β”‚           β”‚     β”œβ”€ UDPReceiverWithOffset.java
      β”‚           β”‚     β””─ UDPSender.java
      β”‚           β”œβ”€ data
      β”‚           β”‚  β””─ BruteForceCoding.java
      β”‚           β””─ netty
      β”‚              β”œβ”€ client
      β”‚              β”‚  β”œβ”€ NettyClient.java
      β”‚              β”‚  β”œβ”€ decoders
      β”‚              β”‚  β”‚  β””─ ResponseDataDecoder.java
      β”‚              β”‚  β”œβ”€ encoders
      β”‚              β”‚  β”‚  β””─ RequestDataEncoder.java
      β”‚              β”‚  β””─ handlers
      β”‚              β”‚     β””─ ClientHandler.java
      β”‚              β”œβ”€ models
      β”‚              β”‚  β”œβ”€ RequestData.java
      β”‚              β”‚  β””─ ResponseData.java
      β”‚              β””─ server
      β”‚                 β”œβ”€ NettyServer.java
      β”‚                 β”œβ”€ decorders
      β”‚                 β”‚  β””─ RequestDecoder.java
      β”‚                 β”œβ”€ encoders
      β”‚                 β”‚  β””─ ResponseDataEncoder.java
      β”‚                 β””─ handlers
      β”‚                    β”œβ”€ ProcessingHandler.java
      β”‚                    β””─ SimpleProcessingHandler.java
      β””─ test
         β””─ java
            β””─ com
               β””─ nova
                  β””─ AppTest.java

About

Network Programming in Java using Sockets and Netty framework.


Languages

Language:Java 100.0%