From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,62aad307d708f384,start X-Google-Attributes: gidf8c9b,public X-Google-Thread: fc89c,62aad307d708f384,start X-Google-Attributes: gidfc89c,public X-Google-Thread: f72b0,62aad307d708f384,start X-Google-Attributes: gidf72b0,public X-Google-Thread: f678f,62aad307d708f384,start X-Google-Attributes: gidf678f,public X-Google-Thread: 10650a,62aad307d708f384,start X-Google-Attributes: gid10650a,public X-Google-ArrivalTime: 1992-10-16 05:18:22 PST Xref: sparky comp.unix.misc:3948 comp.unix.programmer:4973 comp.unix.osf.misc:14 comp.unix.questions:12169 comp.unix.internals:1887 Newsgroups: comp.unix.misc,comp.unix.programmer,comp.unix.osf.misc,comp.unix.questions,comp.unix.internals Path: sparky!uunet!snorkelwacker.mit.edu!ira.uka.de!ira.uka.de!rz.uni-karlsruhe.de!rz.uni-karlsruhe.de!ry01 From: ry01@rz.uni-karlsruhe.de (Klaus Brand) Subject: HELP : DCE RPC <--> Sockets Message-ID: <1992Oct16.160358.19305@rz.uni-karlsruhe.de> Sender: usenet@rz.uni-karlsruhe.de (USENET News System) Organization: University of Karlsruhe, Germany Date: Fri, 16 Oct 1992 16:03:58 GMT 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