1gnutls_transport_set_int(3)         gnutls         gnutls_transport_set_int(3)
2
3
4

NAME

6       gnutls_transport_set_int - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       void gnutls_transport_set_int(gnutls_session_t session, int fd);
12

ARGUMENTS

14       gnutls_session_t session
15                   is a gnutls_session_t type.
16
17       int fd      is the socket descriptor for the connection.
18

DESCRIPTION

20       This  function  sets the first argument of the transport function, such
21       as send() and recv() for  the  default  callbacks  using  the  system's
22       socket API.
23
24       This  function is equivalent to calling gnutls_transport_set_ptr() with
25       the descriptor, but requires no casts.
26

SINCE

28       3.1.9
29

REPORTING BUGS

31       Report bugs to <bugs@gnutls.org>.
32       Home page: http://www.gnutls.org
33
34
36       Copyright © 2001-2018 Free Software Foundation, Inc., and others.
37       Copying and distribution of this file, with  or  without  modification,
38       are  permitted  in  any  medium  without royalty provided the copyright
39       notice and this notice are preserved.
40

SEE ALSO

42       The full documentation for gnutls is maintained as  a  Texinfo  manual.
43       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
44       visit
45
46       http://www.gnutls.org/manual/
47
48gnutls                               3.6.5         gnutls_transport_set_int(3)
Impressum