VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



VBENet Easy-To-Use High Performance UDP Networking Library

by Kevin Gadd (3 Submissions)
Category: Internet/HTML
Compatability: VB Script
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

VBENet is a VB wrapper for the open source ENet networking library. ENet is a simple, high-performance networking library that makes it easy to build fast, simple, reliable multiplayer software - it's great for multiplayer games, chats, and similar applications.

Inputs
VBENet is very simple to use. You can create a server in as little as two lines of code, and connecting to a server is equally as easy. Everything is wrapped in clean, easy to use VB classes, so you don't have to touch any nasty C structs or make API calls. VBENet also includes a useful 'time synchronizer' class that can be used to automatically determine the amount of time it takes to transmit data between machines. You can use this class to synchronize two clocks, or to automatically adjust for latency in time-based code - very useful when developing time-sensitive applications like games!
Assumes
Included in this ZIP is the source code to a DLL version of the ENet library that has been modified to work with Visual Basic, along with the source code to the VBENet ActiveX DLL, and a simple chat demonstration client/server.
Code Returns
VBENet exposes a simple set of 3 events to notify you of connections, disconnections, and recieved information. Each connection exposes a small set of useful properties with information like connection latency and address.
API Declarations
Includes mdlENet.bas with all necessary API declarations.
If you can't compile the necessary ENet library yourself, a pre-compiled version is available. See the included readme for information.

Rate VBENet Easy-To-Use High Performance UDP Networking Library

Download VBENet Easy-To-Use High Performance UDP Networking Library

Download VBENet Easy-To-Use High Performance UDP Networking Library (45 KB)

VBENet Easy-To-Use High Performance UDP Networking Library Comments

No comments have been posted about VBENet Easy-To-Use High Performance UDP Networking Library. Why not be the first to post a comment about VBENet Easy-To-Use High Performance UDP Networking Library.

Post your comment

Subject:
Message:
0/1000 characters