|
|
@ -35,6 +35,7 @@ m_debug(debug),
|
|
|
|
m_address(),
|
|
|
|
m_address(),
|
|
|
|
m_ping(NULL),
|
|
|
|
m_ping(NULL),
|
|
|
|
m_options(NULL),
|
|
|
|
m_options(NULL),
|
|
|
|
|
|
|
|
m_opt(),
|
|
|
|
m_info(NULL),
|
|
|
|
m_info(NULL),
|
|
|
|
m_reflector(),
|
|
|
|
m_reflector(),
|
|
|
|
m_print(),
|
|
|
|
m_print(),
|
|
|
@ -69,21 +70,8 @@ CFCSNetwork::~CFCSNetwork()
|
|
|
|
|
|
|
|
|
|
|
|
bool CFCSNetwork::open()
|
|
|
|
bool CFCSNetwork::open()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
LogMessage("Resolving FCS00x addresses");
|
|
|
|
LogMessage("Resolving FCS999 address");
|
|
|
|
|
|
|
|
|
|
|
|
/* OE1KBC not needed see ::writeLink
|
|
|
|
|
|
|
|
m_addresses["FCS001"] = CUDPSocket::lookup("fcs001.xreflector.net");
|
|
|
|
|
|
|
|
m_addresses["FCS002"] = CUDPSocket::lookup("fcs002.xreflector.net");
|
|
|
|
|
|
|
|
m_addresses["FCS003"] = CUDPSocket::lookup("fcs003.xreflector.net");
|
|
|
|
|
|
|
|
m_addresses["FCS004"] = CUDPSocket::lookup("fcs004.xreflector.net");
|
|
|
|
|
|
|
|
m_addresses["FCS005"] = CUDPSocket::lookup("fcs005.xreflector.net");
|
|
|
|
|
|
|
|
m_addresses["FCS222"] = CUDPSocket::lookup("fcs222.xreflector.net");
|
|
|
|
|
|
|
|
m_addresses["FCS224"] = CUDPSocket::lookup("fcs224.xreflector.net");
|
|
|
|
|
|
|
|
m_addresses["FCS232"] = CUDPSocket::lookup("fcs232.xreflector.net");
|
|
|
|
|
|
|
|
m_addresses["FCS260"] = CUDPSocket::lookup("fcs260.xreflector.net");
|
|
|
|
|
|
|
|
m_addresses["FCS262"] = CUDPSocket::lookup("fcs262.xreflector.net");
|
|
|
|
|
|
|
|
m_addresses["FCS310"] = CUDPSocket::lookup("fcs310.xreflector.net");
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
m_addresses["FCS999"] = CUDPSocket::lookup("fcs999.xreflector.net");
|
|
|
|
m_addresses["FCS999"] = CUDPSocket::lookup("fcs999.xreflector.net");
|
|
|
|
|
|
|
|
|
|
|
|
LogMessage("Opening FCS network connection");
|
|
|
|
LogMessage("Opening FCS network connection");
|
|
|
@ -109,11 +97,7 @@ void CFCSNetwork::write(const unsigned char* data)
|
|
|
|
unsigned char buffer[130U];
|
|
|
|
unsigned char buffer[130U];
|
|
|
|
::memset(buffer + 0U, ' ', 130U);
|
|
|
|
::memset(buffer + 0U, ' ', 130U);
|
|
|
|
::memcpy(buffer + 0U, data + 35U, 120U);
|
|
|
|
::memcpy(buffer + 0U, data + 35U, 120U);
|
|
|
|
|
|
|
|
|
|
|
|
// OE1KBC 2020-09-05 frame# was missing
|
|
|
|
|
|
|
|
::memcpy(buffer + 120U, data + 34U, 1U);
|
|
|
|
::memcpy(buffer + 120U, data + 34U, 1U);
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
::memcpy(buffer + 121U, m_reflector.c_str(), 8U);
|
|
|
|
::memcpy(buffer + 121U, m_reflector.c_str(), 8U);
|
|
|
|
|
|
|
|
|
|
|
|
if (m_debug)
|
|
|
|
if (m_debug)
|
|
|
|