Go to the source code of this file.
Definition at line 44 of file tcp.c.
Definition at line 45 of file tcp.c.
Definition at line 46 of file tcp.c.
static int tcp_open |
( |
URLContext * |
h, |
|
|
const char * |
uri, |
|
|
int |
flags |
|
) |
| |
|
static |
Definition at line 62 of file tcp.c.
static int tcp_shutdown |
( |
URLContext * |
h, |
|
|
int |
flags |
|
) |
| |
|
static |
Initial value:= {
{
"listen",
"Listen for incoming connections",
OFFSET(listen),
AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 2, .flags =
D|
E },
{
"timeout",
"set timeout (in microseconds) of socket I/O operations",
OFFSET(rw_timeout),
AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags =
D|
E },
{
"listen_timeout",
"Connection awaiting timeout (in milliseconds)",
OFFSET(listen_timeout),
AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags =
D|
E },
}
Definition at line 47 of file tcp.c.
Initial value:= {
.class_name = "tcp",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 54 of file tcp.c.
Initial value:= {
.name = "tcp",
}
#define URL_PROTOCOL_FLAG_NETWORK
static const AVClass tcp_class
static int tcp_open(URLContext *h, const char *uri, int flags)
static int tcp_read(URLContext *h, uint8_t *buf, int size)
static int tcp_close(URLContext *h)
static int tcp_shutdown(URLContext *h, int flags)
static int tcp_write(URLContext *h, const uint8_t *buf, int size)
static int tcp_get_file_handle(URLContext *h)
static int tcp_accept(URLContext *s, URLContext **c)
Definition at line 245 of file tcp.c.