In this thread I am providing an ongoing tutorial for using EZ_Serv with Dark Basic Professional.
Everything you need to get started can be found at: http://www.mod2software.com/dbp/dbp.htm Youll need the free EZ_Serv DEMO and the download of these tutorials, as they progress.
The tutorials are full DBP projects that you can compile and run, and each one will include all the code from the previous ones (ie We will be adding to it as we go) The tutorials include
EZS.dba which wraps the functionality of ezs's standard protocol, the usage of
Exeat's winsock plugin, and includes a catch-all parser function (utilizing my
cr_strings.dba - also included) all in two easy to use include files.
TUTORIAL 1
In this first tutorial I introduce you to the basics of using EZ_Serv in a DBP program. The EZS.dba file demonstrates basic main code setup and how to call the functions in the included ezs.dba, which allows you to connect, login, respond to pings, and disconnect from an EZ_Serv session.
Looking ahead:
In part 2 I will introduce ways to maintain server client lists, and respond to other server events not included in part 1.
Part 3 I will discuss using EZ_Serv's Protocol-Pass-Thru System.
Part 4 will begin dealing with SSE objects.
Use this thread for any questions you may have.
So where's the tutorial? Its in the code/comments of the downloads
Visit the link above and download the first installment of the tutorial.
Thanks
CR