-
Notifications
You must be signed in to change notification settings - Fork 0
Basic Section
This section is dedicated to get the most basic out of the library as well as help you get started with the Library. Prerequisites as well as other helpful tips are found here.
Establishing an active connection is the basics for any network communication. Thanks to the simplicity of the Network Library this problem is no longer a real problem. After going through this guide you should be able to initiate an active connection and have everything prepared for two way communication between the host and the client.
Includes code sample as well as the basic prerequisite for initiating an active network connection in Network Library. Also explains in little detail how the Network Library uses the plugin and how it handles the communication.
An active connection is all well and good but without sending some data it is useless. Managing and handling incoming as well as outgoing data can be a tedious task. This is where the Network Library comes to help. Instead of manually handling all direct communication, Network Library does it automatically for you.
In this part of the documentation you will get to registering events in the Network Library as well as sending events over the network. For each event, you can send data over to the client or host. The receiver decodes the packet and runs any methods that have been registered that fit the description.
Like everything, things can go wrong. This is nothing unusual for a network library of any kind. Internet can get disconnected as well as other things. This is where exception handling comes into play. With Network Library this is no longer a problem. Handling exceptions is easy and debugging problems is easy as well.
In this chapter you will learn how internal exceptions happen inside the library and how you can stop it. It also provides information on how you can retrieve debugging information from the library if you see something not going as it is supposed to.