- 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>
-
- 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
-
- 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.
-
- 19 Mar, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 15 Mar, 2011 1 commit
-
-
Nicolas George authored
Functions interrupted by url_interrupt_cb should not be restarted. Therefore using AVERROR(EINTR) was wrong, as it did not allow to distinguish when the underlying system call was interrupted and actually needed to be restarted. This fixes roundup issues 2657 and 2659 (ffplay not exiting for streamed content). Signed-off-by:
Nicolas George <nicolas.george@normalesup.org> Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 23 Feb, 2011 1 commit
-
-
Martin Storsjö authored
Map EAGAIN and EINTR from ff_neterrno to the normal AVERROR() error codes. Provide fallback definitions of other errno.h network errors, mapping them to the corresponding winsock errors. This eases catching these error codes in common code, without having to distinguish between FF_NETERRNO(EAGAIN) and AVERROR(EAGAIN). This fixes roundup issue 2614, unbreaking blocking network IO on windows. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 06 Feb, 2011 1 commit
-
-
Nicolas George authored
Signed-off-by:
Nicolas George <nicolas.george@normalesup.org> Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 04 Feb, 2011 1 commit
-
-
Nicolas George authored
Signed-off-by:
Nicolas George <nicolas.george@normalesup.org> Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 28 Jan, 2011 1 commit
-
-
Luca Barbato authored
Select has limitations on the fd values it could accept and silently breaks when it is reached.
-
- 26 Jan, 2011 1 commit
-
-
Diego Elio Pettenò authored
This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
-
- 14 Dec, 2010 1 commit
-
-
Thomas Guillem authored
This makes it possible to abort a blocking connect call. Patch by Thomas Guillem, thomas dot guillem at gmail Originally committed as revision 26014 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 04 Nov, 2010 1 commit
-
-
Ronald S. Bultje authored
already does AVERROR(). Originally committed as revision 25671 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 21 Sep, 2010 1 commit
-
-
Martin Storsjö authored
On windows, a connection failure doesn't trigger wfds as it does on unix. This fixes issue 2237, based on code by yeyingxian. Originally committed as revision 25154 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 14 Aug, 2010 1 commit
-
-
Ronald S. Bultje authored
in tcp.c. Originally committed as revision 24796 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 27 Jun, 2010 1 commit
-
-
Måns Rullgård authored
ff_url_split() is retained as an alias, as it was used by ffserver, to avoid breaking ABI compatibility with it. Originally committed as revision 23822 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 01 Jun, 2010 1 commit
-
-
Martin Storsjö authored
Originally committed as revision 23401 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 26 Mar, 2010 1 commit
-
-
Martin Storsjö authored
Originally committed as revision 22694 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 14 Mar, 2010 1 commit
-
-
Aurelien Jacobs authored
those functions are not part of the public API Originally committed as revision 22534 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 08 Mar, 2010 1 commit
-
-
Martin Storsjö authored
Since this function isn't in the public API, it should have an ff_ prefix. Originally committed as revision 22321 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 05 Mar, 2010 1 commit
-
-
Martin Storsjö authored
Networking is always initialized when opening protocols. Originally committed as revision 22227 to svn://svn.ffmpeg.org/ffmpeg/trunk
-