Removed all references to pipes and turned into sockets to enable Windows support