1

I have recently downloaded source code for putty for windows client. It is using AF_UNIX address family. AFAIK AF_UNIX socket family is not present in windows. Then how it is working here ? I am working on porting a *nix project to windows which has AF_UNIX socket family.

Thanks Arpit

Arpit
  • 4,259
  • 10
  • 38
  • 43

1 Answers1

0

The AF_UNIX define is still there in Windows, from when the BSD socket interface was ported to Windows by Microsoft, but there is no actual support for AF_UNIX in Windows.

Putty in Windows can not support AF_UNIX. Maybe the Linux port of Putty can, possibly.

If you really, really want to use AF_UNIX in Windows, try to develop in Cygwin which has a user space implementation of AF_UNIX.

Prof. Falken
  • 24,226
  • 19
  • 100
  • 173