Emulation of Unix Pipes in Windows Systems
AssigneeZscaler, Inc.
InventorVitaly Vatnikov
Life of this patent
Estimating the term…
Abstract
Systems and methods for emulating Unix pipes on Windows operating systems include creating an emulated pipe by creating a listening Transmission Control Protocol (TCP) socket and a client TCP socket and establishing a local loopback TCP connection between them; utilizing the emulated pipe for inter-process communication by assigning file descriptors to the established TCP connection, wherein a first file descriptor is designated for reading and a second file descriptor is designated for writing; and enabling asynchronous operation by integrating the emulated pipe with event-driven Application Programming Interfaces (APIs), allowing non-blocking communication between processes or threads within an application.
Claims20
A method for emulating a Unix-style pipe on a Windows operating system, the method comprising steps of:
- creating an emulated pipe by creating a listening Transmission Control Protocol (TCP) socket and a client TCP socket and establishing a local loopback TCP connection therebetween;
- utilizing the emulated pipe for inter-process communication by assigning file descriptors to the established TCP connection, wherein a first file descriptor is designated for reading and a second file descriptor is designated for writing;
- and
- enabling asynchronous operation by integrating the emulated pipe with event-driven Application Programming Interfaces (APIs), allowing non-blocking communication between processes or threads within an application.
A non-transitory computer-readable storage medium having computer-readable code stored thereon for programming one or more processors to perform steps of:
- creating an emulated pipe by creating a listening Transmission Control Protocol (TCP) socket and a client TCP socket and establishing a local loopback TCP connection therebetween;
- utilizing the emulated pipe for inter-process communication by assigning file descriptors to the established TCP connection, wherein a first file descriptor is designated for reading and a second file descriptor is designated for writing;
- and
- enabling asynchronous operation by integrating the emulated pipe with event-driven Application Programming Interfaces (APIs), allowing non-blocking communication between processes or threads within an application.
Dependencies are inferred from the claim text.