From: ry01@rz.uni-karlsruhe.de (Klaus Brand)
Subject: HELP : DCE RPC <--> Sockets
Date: Fri, 16 Oct 1992 16:03:58 GMT [thread overview]
Message-ID: <1992Oct16.160358.19305@rz.uni-karlsruhe.de> (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
reply other threads:[~1992-10-16 16:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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