* using rpc_serv...all_protseqs; cdsping shows two listenings, ok ?
@ 1995-03-28 17:40 Atiqullah Hashmi
1995-03-29 5:00 ` Michel Poleur
1995-03-29 5:35 ` Dave Redmond
0 siblings, 2 replies; 4+ messages in thread
From: Atiqullah Hashmi @ 1995-03-28 17:40 UTC (permalink / raw)
Hi all,
We are using transarc dce 1.0.3a on Solaris2.3 and since this version
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 ? How does the client then pick which one to use ?
Any good/bad experiences with rpc_server_user_all_protseqs() ?
Thanks
Atiq
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: using rpc_serv...all_protseqs; cdsping shows two listenings, ok ?
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
1995-03-29 5:35 ` Dave Redmond
1 sibling, 1 reply; 4+ messages in thread
From: Michel Poleur @ 1995-03-29 5:00 UTC (permalink / raw)
In article <3l9hmq$mo9@cnj.digex.net>, hashmi@cnj.digex.net (Atiqullah Hashmi) writes:
>Hi all,
>
>We are using transarc dce 1.0.3a on Solaris2.3 and since this version
>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
and one for a TCP entry. On our main server machine, we have four network
interfaces. So, if an application server uses rpc_server_use_all_protseqs(),
cdsping shows eight lines. If the application uses only TCP protseq, then
cdsping shows four lines.
> How does the client then pick which one to use ?
I think it's at random, but I'm not sure.
>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.
>
>Thanks
>Atiq
Hope that helps.
Michel Poleur
poleur@crpcu.lu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: using rpc_serv...all_protseqs; cdsping shows two listenings, ok ?
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-29 5:35 ` Dave Redmond
1 sibling, 0 replies; 4+ messages in thread
From: Dave Redmond @ 1995-03-29 5:35 UTC (permalink / raw)
Atiqullah Hashmi (hashmi@cnj.digex.net) wrote:
: Hi all,
: We are using transarc dce 1.0.3a on Solaris2.3 and since this version
: 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 ? How does the client then pick which one to use ?
: Any good/bad experiences with rpc_server_user_all_protseqs() ?
It's exactly what you want!! The client randomly chooses one unless
you override that behavior. I always us all_protoseqs and have had no
trouble. There are those that make claims that udp is better, and there
are those that think tcp is better. I've seen no PRACTICAL difference.
Dave Redmond =================================== ###### # ######
HP | 17 24 1 8 15 | # # # # #
daver@hpuecou.nsr.hp.com | 23 5 7 14 16 | # # # # #
| 4 6 13 20 22 | # # # ######
1-303-649-5517 | 10 12 19 21 3 | # # # # # #
| 11 18 25 2 9 | # # # # # #
================================================ ###### ##### # #
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: using rpc_serv...all_protseqs; cdsping shows two listenings, ok ?
1995-03-29 5:00 ` Michel Poleur
@ 1995-03-30 5:00 ` Mustafizur Rahman
0 siblings, 0 replies; 4+ messages in thread
From: Mustafizur Rahman @ 1995-03-30 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1995-03-30 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1995-03-29 5:35 ` Dave Redmond
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox