So while debugging Dynamips I got this fun message under GDB. Of course it doesn’t tell you WHAT function did it, or HOW it was trying to do it. Fantastic.
Thankfully Dennis Yurichev’s blog gave me the hint to put a breakpoint on ‘OutputDebugStringA’ and sure enough I could see Dynamips trying to treat a socket like a stdio file handle. Something you can’t do in Win32 world.
On the plus side, I just had to do a small re-write of some functions and I can talk to the Dynamips hypervisor! Idle and JIT are working too! Along with WinPcap and UDP transports.