开发者

putty on windows using AF_UNIX

开发者 https://www.devze.com 2023-01-19 14:12 出处:网络
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

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消