<br><br><div><span class="gmail_quote">On 1/2/07, <b class="gmail_sendername">Damjan Jovanovic</b> &lt;<a href="mailto:damjan.jov@gmail.com">damjan.jov@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 1/1/07, Matthew Edlefsen &lt;<a href="mailto:matt.edlefsen@gmail.com">matt.edlefsen@gmail.com</a>&gt; wrote:<br>&gt; Hi, I&#39;ve been trying to get a program that uses rpc to work on wine and I&#39;ve<br>&gt; been having some problems (my understanding is that isn&#39;t surprising).&nbsp;&nbsp;The
<br>&gt; goal is to be able to run a rpc server that sits and waits for connections<br>&gt; over tcp/ip (It&#39;s for doing distributed computing).&nbsp;&nbsp;My first problem was<br>&gt; that I was using RpcServerUseProtseq which after looking at the code noticed
<br>&gt; will always fail with tcp/ip since it passes RpcServerUseProtseqEp NULL for<br>&gt; the endpoint which eventually causes<br>&gt; rpcrt4_protseq_ncacn_ip_tcp_open_endpoint to call<br>&gt; getaddrinfo with NULL for both the ip and port which I guess isn&#39;t allowed.
<br>&gt;<br>&gt; Anyways I altered my code to use a given endpoint instead and now it tells<br>&gt; me:<br>&gt; fixme:rpc:RpcMgmtWaitServerListen not waiting for server<br>&gt; calls to finish<br><br>Ah yes - that one!<br>
<br>&gt; Does this mean the function just doesn&#39;t work?&nbsp;&nbsp;Is there any way around it?<br><br>It does work. After calling RpcMgmtWaitServerListen, just sleep<br>forever. The RPC function calls come in on a different thread anyway.
</blockquote><div><br>Ah great, thanks. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; I assume if it was easy to implement it would have already but just in case
<br>&gt; what exactly needs to be done to get it working?<br><br>I was wondering this too, Robert might know.<br><br>&gt; I was also confused by the<br>&gt; differences between the online git tree and the LXR/what actually gets
<br>&gt; downloaded to my computer.<br>&gt;<br>&gt; To be honest I&#39;m pretty new to wine and linux in general but it would be<br>&gt; absolutely wonderful to get this working.<br><br>Good luck.<br><br>&gt; Thanks in advance - Matt Edlefsen
<br><br>Damjan</blockquote><div><br>&nbsp;</div></div>&nbsp;I set my server to sleep right after it starts listening but I
still can&#39;t connect to it for some reason.&nbsp; You (or anyone else) don&#39;t
happen to have any example code that you know works that I could start
with?&nbsp; Anyways, thanks so much for the help - Matt Edlefsen<br>