On Oct 15, 2012, at 9:35 AM, Dmitry Olshansky <[email protected]> wrote: > > I'm wondering if it will be possible to (sort of) intercept all common I/O > calls in 3rd party C libraries. Something like using our own "wrapper" on top > of C runtime but that leaves BSD sockets and a ton of WinAPI/Posix primitives > to care about.
It's possible, but I don't know that I want to inject our own behavior into what users think is a C system call. I'd probably put the behavior into whatever networking API is added to Phobos though. Still not sure if this should be opt-out or not though, or how that would work.
