i am looking for a plugin to communicate via TCP network-sockets.
As far as i could find in this forum there currently is only network support in CEL.
I checked the CEL sources but could not find any network plugin.
I could implement it "outside" the CS application-thread by creating a separate thread that does the network handling
and processing of the received data. Communication with the CS application-thread could by done means of a message queue.
For this i am thinking about using the ACE libraries, which contains all needed components in a
platform independent way (networking, threading, message queue).
However, i would prefer to have a more "CS integrated" solution, with components that are used already in CS.
(Is there a way to do platform independent multi-threading in CS?)
I had a look at the csWindowsJoystick plugin to get an idea how to implement a network plugin. The iEventOutlet object that
it uses can only feed mouse, keyboard, joystick and "broadcast" events. I guess that i have use the "broadcast" event type for a
"network event". I cannot find another "EventOutlet" type that would fit.
does anyone have suggestions or idea's ?