- 25 Dec, 2013 2 commits
-
-
Stefano Sabatini authored
-
Stefano Sabatini authored
Consistent with what is done in udp.c, allow to explicitly disable listen with listen=0.
-
- 09 Sep, 2013 1 commit
-
-
Martin Storsjö authored
This fixes warnings about making integers from pointers without a cast, and avoids the theoretical case where the lower 32 bits of the pointer would all be zero where the implicit cast wouldn't give the right result. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 25 Aug, 2013 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 06 Aug, 2013 1 commit
-
-
Martin Storsjö authored
This lowers the level of warnings printed if trying to connect to a host name that provides both v6 and v4 addresses but the service only is available on the v4 address (often occurring for 'localhost', with servers that aren't v6-aware). Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 05 Aug, 2013 1 commit
-
-
Luca Barbato authored
-
- 05 Jul, 2013 2 commits
-
-
Michael Niedermayer authored
This should be closer to how tcp behaved longer ago and should fix the issue with idle connections timing out. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes Ticket2694 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 04 Jun, 2013 1 commit
-
-
Luca Barbato authored
Document the functions and have both use a millisecond timeout and check for interrupt.
-
- 01 Jun, 2013 2 commits
-
-
Luca Barbato authored
Introduce ff_listen_connect, to be shared with the other non-tcp network protocols.
-
Luca Barbato authored
Introduce ff_listen_bind, to be shared with the other non-tcp network protocols.
-
- 12 Mar, 2013 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 09 Oct, 2012 2 commits
-
-
Andrey Utkin authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Andrey Utkin authored
Default _connection_ timeout value 5 seconds is left as i/o timeout also Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 25 Jul, 2012 1 commit
-
-
Jordi Ortiz authored
Without this patch a user a bit absent-minded may not notice that the connection doesn't work because the port is missing. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 09 Jul, 2012 1 commit
-
-
Jordi Ortiz authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 27 Jun, 2012 2 commits
-
-
Jordi Ortiz authored
This gives you the proper v4 or v6 version of the "any address", allowing receiving connections on any address on the machine. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Jordi Ortiz authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 26 Jun, 2012 1 commit
-
-
Martin Storsjö authored
This heaader is required for close() for sockets in network code. For winsock, the equivalent function is defined in the winsock2.h header. This avoids having the HAVE_UNISTD_H in all files dealing with raw sockets. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 20 Jun, 2012 1 commit
-
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 19 Jun, 2012 2 commits
-
-
Martin Storsjö authored
Make sure we actually have an error code in ret, in case getsockopt failed. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Also use ff_neterrno() instead of errno directly (which doesn't work on windows), for getting the error code. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 17 Jun, 2012 1 commit
-
-
Jordi Ortiz authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 01 Jun, 2012 1 commit
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 31 May, 2012 2 commits
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 22 May, 2012 1 commit
-
-
Samuel Pitoiset authored
tcp_shutdown() isn't needed at the moment, but is added for consistency to explain how the function is supposed to be used. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 28 Mar, 2012 1 commit
-
-
Diego Biurrun authored
Also remove one pointless zero initialization in rangecoder.c.
-
- 05 Jan, 2012 1 commit
-
-
Martin Storsjö authored
This definition is in two files, since the definitions will move to the private header at the next bump. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 01 Dec, 2011 1 commit
-
-
Martin Storsjö authored
This simplifies the open functions by avoiding one function call that needs error checking, reducing the amount of extra bulk code. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 13 Nov, 2011 1 commit
-
-
Martin Storsjö authored
-
- 30 May, 2011 2 commits
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
This code is redundant and conflicts with lucas reimplementation of it. This reverts commit a2f5e14a.
-
- 27 May, 2011 1 commit
-
-
Luca Barbato authored
The connect() timeout can take minutes, gets misreported as EIO and isn't interruptible.
-
- 20 Apr, 2011 1 commit
-
-
Martin Storsjö authored
Since the libavformat major bump, URLContext contains an AVClass, making it a usable log context. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 08 Apr, 2011 1 commit
-
-
Anton Khirnov authored
This is more readable and makes it easier to reorder URLProtocol members.
-
- 07 Apr, 2011 4 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Luca Barbato authored
This way is possible to have simple micro-server act like ffmpeg -i file.nut -vcodec copy -acodec copy -f nut tcp://foo:1234?listen
-
Luca Barbato authored
Support the URL_FLAG_NONBLOCK semantic and uniform the protocol. The quick retry loop is already part of retry_transfer_wrapper. The polling routine is common to the network protocols: udp, tcp and, once merged, sctp.
-