|
From: <dir...@gm...> - 2003-04-11 06:48:30
|
Hello,
I keep getting the above mentioned error message when trying to send a frame
to the hub.
Background:
I'm trying to wrap up an existing program as a hub server. For this purpose,
I fork a thread within a initialization routine called from that program in
order to start the server main loop, which looks something like that:
int mainServer()
{
GalIO_ServerStruct *server;
char *(argv[]) = {NULL};
int argc = 0;
server = GalSS_CmdlineSetupServer(argc, argv);
if (!server) {
GalUtil_Fatal("Failed to set up server!\n");
}
GalSS_StartAndRunServer(server);
exit(0);
}
In the reinitialize dispatch function I create and store a copy of the
server_data pointer (GalSS_EnvCopy) for later use.
I am able to send a frame to the hub within the reinitialize routine, but
later is does not work at all.
Any suggestions for overcoming this problem are very much welcome.
Regards,
dirk
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
|