do we handle the dvbapi net demux offset right with multiple servers, and whats about a switch like vdr plugin has?
reference: https://github.com/catalinii/minisatip/issues/103
#173: RFE: question: dvbapi adapter offset
this is what Manio did in the vdr dvbapi plugin
https://github.com/manio/vdr-plugin-dvb ... cc5bc60124
so it looks not that complicated to implement
there are sometimes issues with multiple connects with the same user to the same dvbapi network demux adapter index on the oscam side like:
```
015/10/02 19:54:02 34F3CF4E c (dvbapi) ERROR: Could not close demuxer socket fd (errno=4 Interrupted system call)
```
https://github.com/manio/vdr-plugin-dvb ... cc5bc60124
so it looks not that complicated to implement
there are sometimes issues with multiple connects with the same user to the same dvbapi network demux adapter index on the oscam side like:
```
015/10/02 19:54:02 34F3CF4E c (dvbapi) ERROR: Could not close demuxer socket fd (errno=4 Interrupted system call)
```
btw. would it not make sense to move this error log
```
--- socketworks.c.orig 2015-10-02 09:26:51.755618057 +0200
+++ socketworks.c 2015-10-02 09:27:15.941235709 +0200
@@ -252,10 +252,10 @@
if (connect(sock, (struct sockaddr *) serv, sizeof(*serv)) < 0)
{
- LOGL(0, tcp_connect: failed: connect to %s:%d failed: %s, addr, port,
- strerror(errno));
if (errno != EINPROGRESS)
{
+ LOGL(0, tcp_connect: failed: connect to %s:%d failed: %s, addr, port,
+ strerror(errno));
close(sock);
return -1;
}
```
```
--- socketworks.c.orig 2015-10-02 09:26:51.755618057 +0200
+++ socketworks.c 2015-10-02 09:27:15.941235709 +0200
@@ -252,10 +252,10 @@
if (connect(sock, (struct sockaddr *) serv, sizeof(*serv)) < 0)
{
- LOGL(0, tcp_connect: failed: connect to %s:%d failed: %s, addr, port,
- strerror(errno));
if (errno != EINPROGRESS)
{
+ LOGL(0, tcp_connect: failed: connect to %s:%d failed: %s, addr, port,
+ strerror(errno));
close(sock);
return -1;
}
```
do you have any plan to move up to dvbapi protocol version 2 ?
https://github.com/manio/vdr-plugin-dvb ... t-95874618
https://github.com/manio/vdr-plugin-dvb ... t-95874618