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>
<br>
- Jim<br><br>Jim Irrer <a href="mailto:irrer@umich.edu">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 class="gmail_quote">On Wed, Jul 14, 2010 at 6:11 PM, David Wragg <span dir="ltr"><<a href="mailto:david@rabbitmq.com">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 class="im"><br>
Jim Irrer <<a href="mailto:irrer@umich.edu">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 class="h5"><br>
David<br>
<br>
--<br>
David Wragg<br>
Staff Engineer, RabbitMQ<br>
SpringSource, a division of VMware<br>
</div></div></blockquote></div><br>