11# nexonet
22
3- > [ !CAUTION]
4- > ** nexonet** is a user-friendly and modern networking library currently in a very early stage of development.
3+ > [ !CAUTION] > ** nexonet** is a user-friendly and modern networking library currently in a very early stage of development.
54> It should only be used for testing and contributions at this time.
65
76## About
87
9- nexo-net aims to provide developers with a simple way to implement networking operations in their applications.
8+ nexonet aims to provide developers with a simple way to implement networking operations in their applications.
109The library is written in Java and leverages modern programming paradigms to offer an intuitive API.
1110
1211## Installation
1312
14- To use nexo-net in your project, add it as a dependency in your ` pom.xml ` :
13+ To use nexonet in your project, add it as a dependency in your ` pom.xml ` :
1514
1615``` xml
1716<repositories >
@@ -25,28 +24,30 @@ To use nexo-net in your project, add it as a dependency in your `pom.xml`:
2524``` xml
2625<dependency >
2726 <groupId >com.nexoscript</groupId >
28- <artifactId >nexo-net -client</artifactId >
29- <version >0.1.0 </version >
27+ <artifactId >nexonet -client</artifactId >
28+ <version >0.1.1 </version >
3029</dependency >
3130```
31+
3232``` xml
3333<dependency >
3434 <groupId >com.nexoscript</groupId >
35- <artifactId >nexo-net -server</artifactId >
36- <version >0.1.0 </version >
35+ <artifactId >nexonet -server</artifactId >
36+ <version >0.1.1 </version >
3737</dependency >
3838```
3939
4040Ensure you are using the latest version by adjusting the version number accordingly.
4141
4242## Getting Started
43+
4344Here are a few simple examples to help you get started with nexo-net.
4445
4546## Creating a Test Server without Encryption
4647
4748``` java
4849import com.nexoscript.nexonet.server.Server ;
49- import packets. com.nexoscript.MessagePacket ;
50+ import com.nexoscript.packets .MessagePacket ;
5051
5152public class Testserver {
5253
@@ -78,6 +79,7 @@ public class Testserver {
7879 }
7980}
8081```
82+
8183This example demonstrates how to create a simple server that listens for incoming connections on port 1234.
8284
8385## Creating a Test Server with Encryption
@@ -119,17 +121,19 @@ public class MyServer {
119121 }
120122}
121123```
124+
122125This example demonstrates how to create a simple server with "encryption" that listens for incoming connections on port 1234.
123126
124127## Warning
128+
125129If you use the Encryption Feature. Please use it on both Client Side and Server Side
126130because when you use different problems can occur.
127131
128132## Creating a Test Client without Encryption
129133
130- ``` java
134+ ``` java
131135import com.nexoscript.nexonet.client.Client ;
132- import packets. com.nexoscript.MessagePacket ;
136+ import com.nexoscript.packets .MessagePacket ;
133137
134138public class Testclient {
135139
@@ -236,13 +240,14 @@ public class MessagePacket extends Packet {
236240 }
237241}
238242```
243+
239244This is the Packet Class that is used in Client Server Example.
240245If you need your own Packet than you can create your own Class with an empty Constructor and your Variables
241246
242247## Contributions
243248
244- As nexo-net is in a very early stage of development, contributions are welcome.
245- Please fork the repository, make your changes, and submit a pull request.
249+ As nexonet is in a very early stage of development, contributions are welcome.
250+ Please fork the repository, make your changes, and submit your changes with a pull request.
246251
247252## License
248253
@@ -251,4 +256,9 @@ For more information, see the [LICENSE](LICENSE).
251256
252257Note: nexo-net is in a very early stage of development. Use it only for testing and contributions at this time.
253258
259+ ## Security
260+
261+ ** Do not** create a issue or pull request for security relevanted context.
262+ For more information, see the [ SECURITY POLICY] ( SECURITY ) .
254263
264+ Note: nexonet is in a very early stage of development. Use it only for testing and contributions at this time. Use at your own risk.
0 commit comments