After more fiddling than I'd like to admit, I just figured out why that doesn't work - socketpair() gives you socket endpoints, not a server socket that you can accept() on. I'll do something else.
cheers, nate On Mar 11, 8:45 pm, nwp <[email protected]> wrote: > That'd be great - I could have used that sort of thing in several > previous projects. In the mean time, here's what I've done - it > appears to work okay. As far as I can tell, libmemcached will happily > take socket fds, so I should be set there. The patch is really > simple, so I don't mind porting it to future releases as needed, if > you're not interested in incorporating it. I may want to move to > multiple machines later anyway.
