Skip to content
NTX edited this page Mar 9, 2012 · 7 revisions

This application serves as TCP server framework.
On start loads shared library that contains functions that will process incoming data and react on them.

There are 5 base events when main application will call these functions:

OnLoad- called after the library is loaded
OnUnload- called before the library is freed
OnConnect – added to event processor when client connects
OnRecieve – added to event processor when client sends data
OnSend – added to event processor when main application send data
OnDisconnect – added to event processor when client disconnects

OnLoad and OnUnload are called immediatly because they are “One time” functions (that means that function is called only once).

Clone this wiki locally