Crystal Space
Welcome, Guest. Please login or register.
December 21, 2014, 12:06:10 am

Login with username, password and session length
Search:     Advanced search
9032 Posts in 2046 Topics by 9295 Members
Latest Member: Marioibuch
* Home Help Search Login Register
  Show Posts
Pages: 1 ... 3 4 [5]
61  Crystal Space Development / General Crystal Space Discussion / Network plugin in CS/CEL on: August 27, 2006, 02:28:39 pm
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 ?
Rick
62  Crystal Space Development / Support / Re: Another newbie question: Could not load plugins (environment variable is set on: August 16, 2006, 08:39:17 am
I had the same problem (on WinXP)
i first assigned CRYSTAL to "c:\Program Files\CS", this is where i installed and build CS.
My local project was in c:\project, it contained the executable and the vf.cfg file.
When i ran the program i got the "missing plugin's error messages.

Then i copied all .dll files from C:\Program Files\CS to C:\test, and assigned
CRYSTAL to C:\test.
Now i could load the plugins from c:\projects.

So it seems to me there a problem with path-names containing spaces...

Rick
Pages: 1 ... 3 4 [5]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 3.201 seconds with 16 queries.