Jim,<div> will you be making the changes you have made available? I have been thinking of compiling the libRabbitMQ-C library, but have not found the time yet.<br><br><div class="gmail_quote">On Fri, Jul 23, 2010 at 21:46, Jim Irrer <span dir="ltr"><<a href="mailto:irrer@umich.edu">irrer@umich.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Ok, that was no help at all, :)<br>but I got it working.<br><br>The big key is to replace all of the socket calls with Windows<br>
compatible calls (which you probably did):<br><br><div style="margin-left:40px">write --> sendto<br>
read --> recvfrom<br>close --> closesocket<br>htons macro --> htons function<br>use MS inet_addr function<br clear="all">call WSAStartup before you do anything<br>(not sure if I listed all of them)<br></div><br>
It seems to me that generating code on site using Python is<br>
a little heavy handed - requires installation of Python. Simpler<br>would be to package code for each protocol version and then<br>control which was being used with #if statements. Just a suggestion.<br><br>Thanks,<br>
<font color="#888888">
<br>
- Jim<br></font><div class="im"><br>Jim Irrer <a href="mailto:irrer@umich.edu" target="_blank">irrer@umich.edu</a> (734) 647-4409<br>University of Michigan Hospital Radiation Oncology<br>519 W. William St. Ann Arbor, MI 48103<br>
<br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Wed, Jul 14, 2010 at 6:11 PM, David Wragg <span dir="ltr"><<a href="mailto:david@rabbitmq.com" target="_blank">david@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Hi Jim,<br>
<div><br>
Jim Irrer <<a href="mailto:irrer@umich.edu" target="_blank">irrer@umich.edu</a>> writes:<br>
> I know this is experimental, but I'm trying to compile the rabbitmq-c libs<br>
> under mingw on Windows.<br>
<br>
</div>The work to support building rabbitmq-c under mingw still lives in a<br>
branch. Please checkout bug22825, and read README.windows carefully.<br>
<div><div></div><div><br>
David<br>
<br>
--<br>
David Wragg<br>
Staff Engineer, RabbitMQ<br>
SpringSource, a division of VMware<br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>---<br>John Apps<br>(49) 171 869 1813<br>
</div>