File: tlsrpt_get_socket.adoc

package info (click to toggle)
libtlsrpt 0.5.0.-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372 kB
  • sloc: ansic: 605; makefile: 54; sh: 13
file content (37 lines) | stat: -rw-r--r-- 710 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
= tlsrpt_get_socket(3)
Boris Lohner
v0.5.0
:doctype: manpage
:manmanual: tlsrpt_get_socket
:mansource: tlsrpt_get_socket
:man-linkstyle: pass:[blue R < >]

== Name

tlsrpt_get_socket - returns the socket file descriptor used within a `tlsrpt_connection_t`

== Synopsis

#include <tlsrpt.h>

int tlsrpt_get_socket(truct tlsrpt_connection_t* con)

== Description

The `tlsrpt_get_socket` function returns the socket file descriptor used within a `tlsrpt_connection_t`.
This can be useful to set socket options.



== Return value

The tlsrpt_get_socket function returns the socket file descriptor used within a tlsrpt_connection_t.

== See also
man:tlsrpt_strerror[3], man:tlsrpt_error_code_is_internal[3]