Continue on this one please, Thanks for your precious help
- From: "Jonathan Boivin" <djon@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Sep 2006 14:22:57 -0400
The two classes are for my common DLL between the server and the client.
When I'm talking about server in my previous message I meant the Chatter
class (because this instance is run on the server) and about client I meant
the Client class. Both are Singleton classes.
The configuration file is used in the Client class. This kind of setup allow
me to change the address without compiling again. Unless you tell me this is
a bad way to do it, I leave it like this.
My Notifier program is using this DLL via the Client.Send method.
--
Au plaisir,
Jonathan Boivin
---
Courriel : jonathanboivin@xxxxxxxxx
CyberInternautes : http://www.cints.net
Téléphone : 514-779-1129
"Jonathan Boivin" <djon@xxxxxxxxxxxxxxxxxxxx> a écrit dans le message de
news: OkZUBzM3GHA.3364@xxxxxxxxxxxxxxxxxxxxxxx
Hi people !
I used a remoting chat already built using events and a singleton object
on the server.
The events work fine, but not the method calling each time to send a
message.
When I call the send method and when it bugs (i have trace on the client &
server side), I can see my client trace but not the server trace. Let me
explain you a little bit more what is really strange.
I have two types of client (my principal and the notifier). I am currently
talking about the notifier. This notifier is a little and really simple
app which is used to send a single message to my principal clients via
other sources (like the DB). The notifier sends at first a hello message
and then, the message to forward.
The problem is happening when the message to forward is being sent. Which
means here that the hello message was sent correctly, but not the other
one. Weird hey ?
I joined a debug trace file. Here is a little explanation about it :
- When you see 'by 1' it represents a message received or sent by my
principal client.
- When you see 'by #' which # is not 1, it represents a message sent by
the notifier program.
- The trace 'Sending message by' is located on the client side, which
after this you should see a line + SomeOne said: something + a line (the
important keyword here is 'said:') (this trace is located on the server
side).
- The trace 'Receiving message by' is located on the client side.
- There is multiple trys in this debug file, there all good except one. A
try starts by 'Entered WaitForEndDB by' and ends by 'Quitting WaitForEndDB
by'.
- Search for 'Waiting 849 by 1' to get to the BUGGING part. (the number
849 is resent, but this was done manually to debug my principal client).
Here you can see the trace of sending hello on client and server side, but
we only see the sending of the number on the client side and not server.
- Search for 'Waiting 841 by 1' to get to a FUNCTIONAL part.
Thanks for looking at my problem and don't hesitate to ask other questions
if you don't understand something,
Jonathan Boivin
---
Courriel : jonathanboivin@xxxxxxxxx
CyberInternautes : http://www.cints.net
.
- References:
- Remoting working 95% of the times (Expert question)
- From: Jonathan Boivin
- Remoting working 95% of the times (Expert question)
- Prev by Date: Server config file
- Next by Date: Re: Requested Service Not Found
- Previous by thread: Server config file
- Index(es):
Relevant Pages
|