On Fri, 5 May 2006, Alexander Todorov wrote:
> Hello, > I have an application that uses TCP sockets nut it is going to be > changed with UNIX sockets. > Can you point me to some easy and clean approach how to emulate UNIX > sockets for Windows. > The only thing I can think of is using named pipes and encapsulate the > functionality in some class. Any other alternative are welcome. What cygwin does is allocate a free TCP port and write the port parameters in the "unix" socket file. You could try to emulate it like that. I would be interested in seeing such an emulation. Named pipes don't support several distinct clients, AFAIK. Michael. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel