guacamole/socket-wsa.h File Reference

Provides an implementation of guac_socket specific to the Windows Socket API (aka WSA or "winsock"). More...

Go to the source code of this file.

Functions

guac_socketguac_socket_open_wsa (SOCKET sock)
 Creates a new guac_socket which will use the Windows Socket API (aka WSA or "winsock") for all communication.

Detailed Description

Provides an implementation of guac_socket specific to the Windows Socket API (aka WSA or "winsock").

This header will only be available if libguac was built with WSA support.


Function Documentation

guac_socket* guac_socket_open_wsa ( SOCKET  sock  ) 

Creates a new guac_socket which will use the Windows Socket API (aka WSA or "winsock") for all communication.

Freeing this guac_socket will automatically close the associated SOCKET handle.

Parameters:
sock The WSA SOCKET handle to use for the connection underlying the created guac_socket.
Returns:
A newly-allocated guac_socket which will transparently use the Windows Socket API for all communication.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 5 Jan 2021 for libguac by  doxygen 1.6.1