PasTim wrote:
> In my case I definitely didn't need any more socats. If I get time I'll
> run tests again to make sure nothing has changed.
I think you're right. The plot thickens. The socat documentation talks
about symmetric linkage. For example, if we use a "udp-sendto" on one
side and a "udp-recvfrom" on the other, socat will automatically relay
reply packets to/from the UDP ports where data was transmitted from
server to client. Hence, we don't need the extra pair of socats after
all.
However, armed with this knowledge, still can't get it to work.
I tried changing
Code:
--------------------
socat tcp4-listen:34831,reuseaddr,fork UDP:localhost:3483
--------------------
to
Code:
--------------------
socat tcp4-listen:34831,reuseaddr,fork UDP-SENDTO:localhost:3483
--------------------
to make it symmetric with the UDP-RECVFROM. But that isn't working
either.
I have a feeling it's the response from LMS that is not making back to
the Player. In the socat window running on the LMS server, I see a
healthy dialog:
Code:
--------------------
> 2018/10/16 23:55:11.810076 length=37 from=0 to=36
eIPAD.NAME.JSON.VERS.UUID.JVID..4Vx.4
< 2018/10/16 23:55:11.810751 length=74 from=0 to=73
ENAME\bMacMini2JSON.9500VERS.7.9.0UUID$75ab0441-2381-4093-a814-0fc6f05ede7b
--------------------
This is confirming the socat sees a 37-byte incoming message on TCP
34831 (from the Player), and confirms a 74-byte response is received
from LMS and relayed back. And if you look in the response you will see
the name of my LMS server (MacMini2) and the port (9500) and the LMS
version number (7.9.0). So this is as expected. It's just somehow the
response is not making it back through ssh to the Player LAN. I will
continue investigating why.
------------------------------------------------------------------------
nico's Profile: http://forums.slimdevices.com/member.php?userid=672
View this thread: http://forums.slimdevices.com/showthread.php?t=108734
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter