[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] Re: OS X and USB



On Mon, 29 Oct 2001, Andrew Arensburger wrote:

> > Ah.  Not what the webpage says :)
> 
> 	Which web page? I didn't think any of the ColdSync internals
> were documented on the web anywhere, with the possible exception of
> the archive for this mailing list.

I was speaking in error - I did not see that the snapshots had version
numbers, so I thought 2.1.3 was the most current with a version number. 
Per my previous message this morning, I've corrected that assumption.

> > There's a little extra song and dance with IOKit, including using IOKit
> > read/write functions (hence my concern over select(), since there
> > aren't any legitimate fd's).
> 
> 	...which is why this functionality is encapsulated inside an
> object.

Yes, but coldsync.c performs a select() directly on pconn->fd (in
forward_netsync).  It's probably safe to assume that will always be OK
for a network connection, but it's performed on the local pconn->fd as
well.

Of course, the current API of io_select doesn't support what
forward_netsync attempts to do with select(), which is a problem :-/
-- 
 Matthew Weigel
 Research Systems Programmer
 mcweigel@cs.cmu.edu ne weigel@pitt.edu

This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.