os_windows contains some uses of the winsock API. When using it for streaming C2 graphs to the IdealGraphVisualizer the os::socket call fails because os::initsock has not been called and initalized winsock properly.