Commit graph

13 commits

Author SHA1 Message Date
SASANO Takayoshi dad47317e6 set INADDR_ANY/IN6ADDR_ANY_INIT address string to m_socket
when CUDPSocket::open() is called with m_address (in CUDPSocket) is nothing,
IPv4 socket is created by "0.0.0.0" (INADDR_ANY) address.

This causes a problem that DMRGateway cannot connect to reflector on IPv6.
To choose default INADDR_ANY/IN6ADDR_ANY_INIT address, added
open(address_family) in UDPSocket.cpp.

Following code sets address string at construction, not modified.
	NXDNNetwork.cpp
	POCSAGNetwork.cpp
	YSFNetwork.cpp

Other codes does not set, modified open() -> open(address_family)
	DMRNetwork.cpp
	DStarNetwork.cpp
	MMDVMHost.cpp
	MobileGPS.cpp
	P25Network.cpp
	RemoteCommand.cpp
	RemoteControl.cpp

I think there is more clever method, but I have no other idea.

Maybe IPv6 support for digital radio works, but RemoteControl can work
IPv4 only.
2020-04-06 18:35:12 +09:00
SASANO Takayoshi c92039d83b modified for IPv6 supported CUDPSocket 2020-04-06 18:34:54 +09:00
Jonathan Naylor 9b2352c877 Beginnings of allowing for local POCSAG message transmissions. 2019-01-22 21:33:49 +00:00
Jonathan Naylor d02122b922 Fix bug in use of std::vector size, thanks to Flo DF2ET. 2019-01-22 14:38:06 +00:00
Jonathan Naylor b57d42327a Make the remote command handler more flexible and add an optional
timeout to the new mode.
2019-01-22 13:40:02 +00:00
Jonathan Naylor 3d164b4148 Fix bug in remote command logging, thanks to Phil M0VSE for finding it. 2019-01-20 17:01:28 +00:00
Jonathan Naylor a5813dc8e8 Change logging level of invalid commands. 2019-01-10 09:07:12 +00:00
Jonathan Naylor 8aa2f00c1b Fixes for Windows. 2019-01-09 19:47:59 +00:00
Jonathan Naylor c0658deafa Add host logging of all remote commands. 2019-01-09 11:27:15 +00:00
phl0 494739c25b
We need a cstring include here ... (at least for Linux builds) 2019-01-08 13:51:24 +01:00
Jonathan Naylor 7cd47fcb20 Change "dstar" to "d-star". 2019-01-08 09:49:13 +00:00
Jonathan Naylor b43a354343 Expand range of commands. 2019-01-07 13:54:52 +00:00
Jonathan Naylor 42a48209d4 Add remote control interface. 2019-01-07 11:03:37 +00:00