Welcome to the Network Programming repository! This repository contains various examples and exercises related to network programming, primarily using Java.
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.
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)
-
Clone the repository:
git clone https://github.com/kavindaperera/network-programming.git
-
Navigate to the project directory:
cd network-programming
-
Open the project in your preferred IDE or code editor.
π¦
ββ .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