VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Generic object oriented client server library

by Edwin Vermeer. (11 Submissions)
Category: Libraries
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

The GenericClient object can be used to create any sort of client application
and the GenericServer object can be used to create any sort of server application.
This is an API only winsock wrapper setup as an active X dll. It will hide the difficulties
in the Winsock for you and it stimulate developing in an object oriented way.
You will probably write your own protocol handler (like SMTP, POP or ...) using the OnDataArive event.
The bennefit of this library is that it uses very litle memory (compared to the inet control),
it's very fast, you do not need a form and its very easy to create multiple instances.
I tested it with 4 servers and 400 clients on 1 machine.
- - - - - - - - - - - - - - - - - - - - - - -
A demo is included that show you how to make a simple chat application.
Also a demo is available that shows you how to do port mapping.
If you want more samples, then have a look at tha SMTP and POP library at https://www.evict.nl/open_source.asp
-
- - - - - - - - - - - - - - - - - - - - - -
Credits:
The (super) SubClass code is from a publication from Paul Canton [[email protected]]. https://www.vbcoders.com/vb/scripts/ShowCode.asp?txtCodeId=42918&lngWId=1
The
winsock stuff is inspired by a publication from 'Coding Genius'. https://www.vbcoders.com/vb/scripts/showcode.asp?txtCodeId=39858&lngWId=1
The
Exception hanler is based on a publication from Thushan Fernando. https://www.vbcoders.com/vb/scripts/ShowCode.asp?txtCodeId=41471&lngWId=1
Earlier
this week I posted a complete demo for this exception hadler. It can be found here: https://www.vbcoders.com/vb/scripts/ShowCode.asp?txtCodeId=62771&lngWId=1
- - - - - - - - - - - - - - - - - - - - - - -
2 years ago I posted an earlier version of this code here to VBC. This submition has some bug fixes, a lot of improvements for stimulating object oriented programming and there is a portmapper demo added.

Rate Generic object oriented client server library

Download Generic object oriented client server library

Download Generic object oriented client server library (91 KB)

Generic object oriented client server library Comments

No comments have been posted about Generic object oriented client server library. Why not be the first to post a comment about Generic object oriented client server library.

Post your comment

Subject:
Message:
0/1000 characters