OpenQNX :: The QNX Community Portal

Jul 05, 2008 - 12:07 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 61 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Torophal
Post subject: Receiving _PULSE_CODE_DISCONNECT through PtAppAddInput  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.