| Author |
Message |
|
|
Post subject: Receiving _PULSE_CODE_DISCONNECT through PtAppAddInput
Posted: Apr 24, 2007 - 01:25 PM
|
|
New Member
Joined: Apr 24, 2007
Posts: 1
|
|
Hi,
how is it possible to receive a _PULSE_CODE_DISCONNECT pulse by registering a message handler through PtAppAddInput()?
As server I call the following functions to create a channel:
name_attach_t *pNa;
pNa = name_attach ( NULL, "myname", 0 );
PhChannelAttach ( pNa->chid, -1, NULL );
PtAppAddInput ( NULL, 0, MyMsgHandler, NULL );
After a client has connected through name_open(), I slay the client but no disconnect notification pulse is forwarded to my message handler.
Client and server are running at the same machine. GNS is not runing.
What am I doing wrong?
Thx for any hint!
Best regards.
Torophal |
|
|
| |
|
|
|
 |
|
|
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group Credits |
|
|