This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Cathy Avery
Recipients Cathy Avery, gregory.p.smith
Date 2016-07-21.15:36:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I have added AF_VSOCK support to python's 3.6 socket module ( socketmodule.c socketmodule.h cloned from ). The implementation is very similar to AF_NETLINK.  AF_VSOCK requires the VMware-specific VMCI transport which is currently upstream or the virtio-vsock drivers developed by Stefan Hajnoczi at Red Hat. The virtio-vsock drivers are not upstream yet but more information with source and build instructions can be found at

More information on vSocket programming can be found at

The VMCI transport supports SOCK_DGRAM and SOCK_STREAM on both Linux and Windows. Virtio-vsock currently supports SOCK_STREAM only on Linux.

My python addition supports SOCK_STREAM and SOCK_DGRAM calls on Linux only.

I have tested my implementation on both driver sets on Linux.

Attached is a diff file so you can see which files I've modified. These include a new I have already tested the new file generation by running autoreconf. 

Also included in the patch is an updated socket.rst file however I could not get the final html page to be double spaced.
Date User Action Args
2016-07-21 15:36:31Cathy Averysetrecipients: + Cathy Avery, gregory.p.smith
2016-07-21 15:36:30Cathy Averysetmessageid: <>
2016-07-21 15:36:30Cathy Averylinkissue27584 messages
2016-07-21 15:36:30Cathy Averycreate