Thanks,
I downloaded the latest code on Saturday and merged what I had.

I changed code in 26 files. Some of the changes will be easy to incorporate
into the current codebase, others will need decisions from the group as to
the best way to add the Windows changes (e.g. #ifdef (s) and/or separate
files, etc...).

I have a list of most  of the changes I made in the code.

A major problem is the pipe() and poll() support. I can use the Windows
functions, but the windows WSAPoll() works on sockets, not file descriptors.
I think the windows version will need to use the Windows IOCompletion ports
model for scalability, but I was hoping to substitute the windows functions
for poll() and pipe() just to get something up and running.

I rebuilt proton and it runs as a server and/or client, but cannot do the
poll() correctly. It seems to be getting POLLNVAL using WSAPoll() because
the pipe is an invalid socket. The pipe is a file descriptor in Linux,  but
Windows is expecting a socket in its WSAPOLLFD structure.  

I was wondering what the pipe() is for?  Will this be in the final product
or is this a temporary fix for something?

Visual Studio doesn't use VLA (variable length arrays), but there are
various workarounds for this. I only implemented the simplest change for
now, but plan to change it to a better model soon.

I am unfamiliar with the apache infrastructure, so I'll need some guidance
to present my code for review.
    
There are other incompatibilities with  the current codebase and the Visual
Studio toolset, since Visual Studio doesn't support C99, but the two above
are probably the most serious.

Thanks, 
Mary

-----Original Message-----
From: Rafael Schloming [mailto:r...@alum.mit.edu] 
Sent: Monday, October 01, 2012 12:39 PM
To: proton@qpid.apache.org
Subject: Re: proton port to windows using Visual Studio 2010 tools

Hi Mary,

Welcome to the list! I'm looking forward to seeing the issues you've hit.
It would be great to have proton working with the Visual Studio toolset. If
you have patches ready to go already our main tools for collaboration are
JIRA[1] and reviewboard[2]. Please feel free to ask questions about either
if you're unfamiliar with apache infrastructure.

[1] https://issues.apache.org/jira/browse/PROTON
[2] https://reviews.apache.org/groups/qpid/

--Rafael

On Fri, Sep 28, 2012 at 1:12 PM, Mary Hinton <m.hin...@nc.rr.com> wrote:

> Hi all,
>
> I am new to proton and will be helping out with a Windows port of 
> proton-C using the Visual Studio 2010 toolset.
>
>
>
> With a first pass through the code, I have a list of porting issues 
> that need to be addressed by the proton group.
>
> These will be introduced shortly for your review and comments.
>
>
>
> Thanks,
>
> Mary Hinton
>
>


Reply via email to