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