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