Reimar Döffinger
|
8250561149
Check for udp_set_remote_url error.
|
14 years ago |
Diego Biurrun
|
9a58234fea
Fix misspelled parameter names in Doxygen documentation.
|
14 years ago |
Måns Rullgård
|
f3bfe388b5
Make ff_url_split() public
|
14 years ago |
Martin Storsjö
|
48e77473e9
Cosmetics: Change connexion to connection in code comments
|
14 years ago |
Martin Storsjö
|
27241cbffe
Declare the url_write buffer parameter as const
|
14 years ago |
Diego Biurrun
|
ba87f0801d
Remove explicit filename from Doxygen @file commands.
|
14 years ago |
Martin Storsjö
|
cae9a15c98
Don't report EINTR from select as an error, retry select instead
|
14 years ago |
Aurelien Jacobs
|
e4a9e3cc7c
move ff_url_split() and ff_url_join() declarations to internal.h
|
14 years ago |
Martin Storsjö
|
c5c6e67c28
Rename url_split to ff_url_split
|
14 years ago |
Martin Storsjö
|
814c56413d
Don't explicitly initialize networking in the tcp and udp protocols
|
14 years ago |
Reimar Döffinger
|
11a74f3639
Explicitly set struct addrinfo to NULL if getaddrinfo failed instead of
|
14 years ago |
Ronald S. Bultje
|
6481075443
Make style a little bit more K&R'ish.
|
14 years ago |
Martin Storsjö
|
7c823d8b7f
Rename a function which is no longer ipv6-specific. Patch by Martin Storsjö
|
14 years ago |
Martin Storsjö
|
b4d68544c8
Remove IPv4-only codepath. Patch by Martin Storsjö <$first $first st>.
|
14 years ago |
Ronald S. Bultje
|
f0a8039464
Add url_get_file_handle(), which is used to get the file descriptor
|
15 years ago |
Diego Biurrun
|
bad5537e2c
Use full internal pathname in doxygen @file directives.
|
15 years ago |
Diego Biurrun
|
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
|
15 years ago |
Aurelien Jacobs
|
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
|
15 years ago |
Dave Yeo
|
c0a8f8d498
Add sys/time.h header #include, fixes compilation on OS/2.
|
16 years ago |
Jindřich Makovička
|
36b532815c
bind to the multicast address if possible
|
16 years ago |
Jindřich Makovička
|
ce09d560b7
Get rid of MSG_DONTWAIT using a more standard way to use a socket
|
16 years ago |
Jindřich Makovička
|
7d0842992a
check for interrupt when receiving from socket
|
16 years ago |
Jindřich Makovička
|
236bb1ab01
Allow the UDP socket buffer size to be adjusted using a
|
16 years ago |
Luca Abeni
|
a9e02947f6
Fix udp.c compilation with recent glibc (>= 2.8)
|
16 years ago |
Ronald S. Bultje
|
e6c1381982
Fix memleak on some OSes in case network initialization fails. See
|
16 years ago |
Luca Abeni
|
397db8ac5e
Fix type of dest_addr_len to respect return value of udp_set_url.
|
16 years ago |
Luca Barbato
|
3adfb3772c
doxy header for udp protocol
|
16 years ago |
Luca Abeni
|
35b74c3deb
Remove the "multicast=" tag from UDP and RTP URLs
|
16 years ago |
D Richard Felker III
|
03c09e4399
Do not use GNU-specific (or BSD-specific or whatever they may be)
|
16 years ago |
Luca Abeni
|
087b327287
Include os_support.h only when needed
|
17 years ago |
Luca Abeni
|
086119b3f3
Remove perror() usage from udp.c
|
17 years ago |
Luca Abeni
|
aa519c4771
Remove some more duplicated code
|
17 years ago |
Luca Abeni
|
d4936869ff
Remove the useless variable "my_addr1"
|
17 years ago |
Luca Abeni
|
882d00f27d
Use the same code to set local_port in the IPv4-only case and in the
|
17 years ago |
Luca Abeni
|
6b7089044a
Remove some useless assignments (the UDPContext is allocated with av_mallocz())
|
17 years ago |
Luca Abeni
|
d05cb726bd
Simplify set_remote_url(), and remove some code duplication
|
17 years ago |
Luca Abeni
|
4c7d5764a0
Use recv() instead of recvfrom() (removes some other differences between
|
17 years ago |
Luca Abeni
|
66c49825da
Remove a now unused field
|
17 years ago |
Luca Abeni
|
9cdcb04f5a
Give better names to multicast functions (they are not IPv6-only)
|
17 years ago |
Luca Abeni
|
a8bde059e6
Avoid to duplicate the multicast code between the IPv4-only and
|
17 years ago |
Luca Abeni
|
0ec1233511
Remove some ifdefs by using the "dest_addr_len" field in both the IPv4-only
|
17 years ago |
Ronald S. Bultje
|
51844e6cd2
Take the target address family in account when determining the family of
|
17 years ago |
Luca Abeni
|
7d8576c279
Reindent after last commit
|
17 years ago |
Nicolas George
|
d607861cd5
Resolve hosts and bind sockets even when the local_port is not set (0)
|
17 years ago |
Ramiro Polla
|
f18cae4d6e
Set UDP receive buffer to 64k
|
17 years ago |
Ramiro Polla
|
1642cb6b2e
Add initialization and cleanup functions for Winsock
|
17 years ago |
Panagiotis Issaris
|
6f3e0b2174
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
|
17 years ago |
Diego Biurrun
|
0a4f20c6c5
Add some explanatory comments to #endif directives.
|
17 years ago |
Diego Biurrun
|
ea23327b9c
Remove unused static function.
|
17 years ago |
Alex Beregszaszi
|
8da4034f52
use ff_neterrno() and FF_NETERROR() for networking error handling
|
17 years ago |