]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Allow for future use of AF_UNSPEC in AsyncSocket library
authorVMware, Inc <>
Wed, 18 Sep 2013 03:42:24 +0000 (20:42 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Sep 2013 05:30:01 +0000 (22:30 -0700)
commit06b51461bb1a2e01282d0244ff0f47b8d5ae8bea
tree86b0c7a5aaf6440f1c907a5328a9d8ee94077313
parentb81233bd0375e5358a55b387e638e9f569a0cc53
Allow for future use of AF_UNSPEC in AsyncSocket library

Create a socketFamily switch in AsyncSocket_Connect and
AsyncSocket_ConnectWebSocket for future IPv6 integration.

Allow for future use of AF_UNSPEC when a connection does not care if it is
AF_INET or AF_INET6. Since AsyncSocket does not fully support AF_INET6 yet and
our AF_INET6 test bed is not yet completed, hard code all callers to AF_INET.

Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/lib/asyncsocket/asyncsocket.c
open-vm-tools/lib/include/asyncsocket.h