View topic - several functions ,help me!

several functions ,help me!

anything that doesn't fit to other groups.

several functions ,help me!

Postby Johny » Thu Sep 25, 2003 10:26 am

hi!
I met some problem during coding.
I was puzzled in those functions:
ChannelCreate(),ConnectAttach();
NameOpen(),NameAttach();

who can tell me the difference between the two group of functions.

thanks a lot.

Johny.
Johny
New Member
 
Posts: 9
Joined: Tue Sep 23, 2003 2:08 am

Postby cdm » Fri Sep 26, 2003 4:18 am

Read the system architecture guide. It covers all of this and more.
cdm
QNX Master
 
Posts: 789
Joined: Fri Jul 05, 2002 9:38 am

I got it!

Postby Johny » Fri Sep 26, 2003 5:02 am

thanks. i've made sense of them.

ChannelCreate() is to create a channel to receive messages, used in server end.
ConnectAttach() is to create a connect to send messages, used in client end.

name_attach() is to registrer a name in the namespace and create a channel, used in server.
name_open() is to open a name for a server connection.
while name_attach() and name_open() is for local .

is that right ?


Johny
Johny
New Member
 
Posts: 9
Joined: Tue Sep 23, 2003 2:08 am

Postby cdm » Fri Sep 26, 2003 11:04 pm

Yep, that's it.
cdm
QNX Master
 
Posts: 789
Joined: Fri Jul 05, 2002 9:38 am


Return to General Programming

Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests