aboutsummaryrefslogtreecommitdiffstats
path: root/src/rtl_tcp.c
AgeCommit message (Collapse)AuthorFilesLines
2020-02-26rtl_tcp: Initialize listensocketSteve Markgraf1-1/+1
Older versions of GCC will complain that it can be used uninitialized - which is not the case, but it breaks our Jenkins build as we build with -Werror.
2020-02-26rtl_tcp: Add IPv6 supportA. Maitland Bottoms1-17/+55
I've prepared this patch in response to Debian bug #870804 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870804 It passes the text from the -a and -p options through getaddrinfo() and uses the first result that has a valid socket with a successful bind. While not a complete bind to all possible valid names, it does appear to address the use case of the bug submitter without completely changing the program flow.
2017-06-13Add option '-T' for activating bias-T in rtl_(adsb|fm|power|tcp)hayati ayguen1-2/+11
* added debug output when activating Signed-off-by: hayati ayguen <h_ayguen@web.de> * fixed options argument Signed-off-by: Fabian P. Schmidt <kerel-fs@gmx.de> Signed-off-by: Steve Markgraf <steve@steve-m.de>
2017-06-12rtl_tcp: add command for bias tee controlDimitri Stolnikov1-0/+4
2014-02-10rtl_tcp: make all global variables staticSteve Markgraf1-2/+2
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2014-02-10lib: change default number of transfers to 15Steve Markgraf1-1/+1
So far we had 32 * 256KB which was a bit overkill, 15 are more than enough. 15 was chosen instead of 16 because at least on Linux there seems to be a system-wide limit of 63 transfers (when they are 256KB large), so 4 dongles can be used on a single machine without lowering the default transfer number. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2014-01-24rtl_tcp: fix warningSteve Markgraf1-1/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2014-01-23utils: convenience functionsKyle Keen1-14/+25
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-12-27rtl_tcp: clean up error handlingHoernchen1-49/+18
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-10-25tools: play nice with mingw/cygwinHoernchen1-1/+5
2013-02-17rtl_tcp: fix printing of if gain valuesDimitri Stolnikov1-2/+2
2013-01-10rtl_tcp: add option to tame the linked listHoernchen1-1/+16
2012-12-29rtl_tcp: add support for tuner caps discoveryDimitri Stolnikov1-4/+48
Signed-off-by: Hoernchen <la@tfc-server.de>
2012-12-28fix segv on reconnectedy5551-7/+19
Signed-off-by: Hoernchen <la@tfc-server.de> improve staibility (for sdr#) Signed-off-by: Hoernchen <la@tfc-server.de>
2012-10-18rtl_tcp: increase the timeout in worker threadHoernchen1-1/+1
the reset takes ages on windows Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-14rtl_tcp: allow to set xtal frequenciesSteve Markgraf1-0/+8
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-06rtl_tcp: make more functions of librtlsdr accessible via tcpSteve Markgraf1-1/+24
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-05rtl_tcp: ignore SIGPIPESteve Markgraf1-1/+3
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29rtl_tcp: add parameter for changing number of buffersSteve Markgraf1-3/+8
This is useful for devices with low memory, e.g. routers with OpenWRT (decrease to 8 for example). Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29add local copy of getopt() for win32 buildSteve Markgraf1-17/+5
Now all commandline utilities have a platform-independent syntax. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29rtl_tcp: fix includesSteve Markgraf1-1/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-25rtl_tcp: silence warning about socklen_t/int sign.Christian Vogel1-2/+6
rtl_tcp.c:457:57: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *' [-Wpointer-sign] Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-25fix gain setting and update usage information for CLI toolsDimitri Stolnikov1-12/+25
2012-05-23add help message to rtl_tcp spectrum serverDimitri Stolnikov1-3/+5
2012-05-17#include <math.h> was not needed.Christian Vogel1-1/+0
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-13rtl_tcp: convert command parameters from network to host byteorderSteve Markgraf1-13/+13
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-07rtl_sdr, rtl_tcp: cleaned up gain handlingDimitri Stolnikov1-7/+12
2012-05-07rtl_tcp: add handler for freq correction commandDimitri Stolnikov1-1/+5
2012-05-06rtl_tcp: add handlers for sample rate and gain mode commandsDimitri Stolnikov1-6/+14
2012-05-06consolidate program argumentsDimitri Stolnikov1-15/+14
2012-05-04use new E4000 tuner driver, allow manual gainSteve Markgraf1-1/+6
Many thanks to Hoernchen for making the driver work properly and adding manual gain! Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-24rtl_tcp: proper linux supportHoernchen1-17/+26
as well as some cosmetic fixes Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-19add initial version of tcp serverHoernchen1-0/+474