Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* HELP : DCE RPC <--> Sockets
@ 1992-10-16 16:03 Klaus Brand
  0 siblings, 0 replies; only message in thread
From: Klaus Brand @ 1992-10-16 16:03 UTC (permalink / raw)


Hi Folks.

I've got a problem with DCE RPC and sockets. I've got four processes, two on
one machine and two on another. The two processes on each machine communicate
via sockets, and the communication between the two machines is via DCE RPC as 
shown in the picture.

        /-----\          /-----\
        |     |          |     |
        | A1  |          | B1  |       
        |     |          |     |
        \-----/          \-----/
    socket |                |socket          
           |                |
        /-----\          /-----\
        |     |          |     |
        | A2  |----------| B2  |
        |     | DCE RPC  |     |
        \-----/          \-----/

A1 sends a string via a socket to A2. This one makes an RPC to procedure that
is on B2. The input parameter for this procedure is the received string. B2 
then sends this string via socket to B1. B1 then sends a return string to B2, 
which gives back this string as the result of the RPC to A2. Finally A2 sends
this result string to A1.

Now the problem :

when A2 has received something from the socket, it doesn't execute the RPC.
The socket between A1 and A2 can be open, and A2 can write as much as it can, 
the RPC will be executed. But if A2 has read only one byte, the RPC goes 
wrong. 

I have undefined the jacket routine for the "recv", then the RPC is OK, but 
A2 hasn't read the message from A1 !

Has anyone had the same problem ? 
Or does anyone know a solution ?

Regards.

Klaus.
-- 
Klaus Brand 
Computing Centre
University of Karlsruhe / Germany
                      
e-mail : ry01@rz.uni-karlsruhe.de
	 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1992-10-16 16:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-10-16 16:03 HELP : DCE RPC <--> Sockets Klaus Brand

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