Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: rahman@dhaka.pilgrim.umass.edu (Mustafizur Rahman)
Subject: Re: using rpc_serv...all_protseqs; cdsping shows two listenings, ok ?
Date: 1995/03/30	[thread overview]
Message-ID: <3lf99t$81p@kernighan.cs.umass.edu> (raw)
In-Reply-To: 3lbjb6$8vs@leonardo-da-vinci.infogest.cu.lu


In article <3lbjb6$8vs@leonardo-da-vinci.infogest.cu.lu>, poleur@crpcu.lu (Michel Poleur) writes:

|>In article <3l9hmq$mo9@cnj.digex.net>, hashmi@cnj.digex.net (Atiqullah Hashmi) writes:

|>>supports both udp and tcp we are using rpc_server_user_all_protseqs().
|>>Now the cdsping shows two lines that the application is listening. 

|>>Is that ok ?

|>Yes, it's ok. There is one line for each listening entry: one for an UDP entry

	Yes.

|>>  How does the client then pick which one to use ?

|>I think it's at random, but I'm not sure.

	It is "random" within the set of protocols both the client and the
	server machine supports.  For instance, if you have a client which
	only runs DECnet then it will use the DECnet binding everytime provided
	the server also exports a DECnet binding among the others.

|>>Any good/bad experiences with rpc_server_user_all_protseqs() ?

|>If you only use the TCP protocol sequence, and your server dies, then the
|>client RPC functions returned immediately (with status set). With UDP, there may 
|>be a little amount of time before the functions returned.

	Never had a problem since commercial DCE releases!  It is best to use
	*all* the available protocols on the server side so that a client with
	a limited set of protocols has a better chance of finding a compatible
	binding.  You still have the flexibility to choose the protocol on the
	client side if you wish - I would *never* hard-wire a specific protocol
	in mind you!

							- Mustie

--
Mustafizur Rahman                   Internet: rahman@pilgrim.umass.edu
OSF DCE Developer, Project Pilgrim
A143B Lederle Graduate Research Center        (413) 545-4701
University of Massachusetts                   (413) 545-2744
Amherst, MA 01003, U. S. A.              Fax: (413) 545-1249



  reply	other threads:[~1995-03-30  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-28 17:40 using rpc_serv...all_protseqs; cdsping shows two listenings, ok ? Atiqullah Hashmi
1995-03-29  5:00 ` Michel Poleur
1995-03-30  5:00   ` Mustafizur Rahman [this message]
1995-03-29  5:35 ` Dave Redmond
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox