|
|
@ -208,20 +208,7 @@ namespace data |
|
|
|
{ |
|
|
|
{ |
|
|
|
boost::system::error_code ecode; |
|
|
|
boost::system::error_code ecode; |
|
|
|
address->host = boost::asio::ip::address::from_string (value, ecode); |
|
|
|
address->host = boost::asio::ip::address::from_string (value, ecode); |
|
|
|
if (ecode) |
|
|
|
if (!ecode) |
|
|
|
{ |
|
|
|
|
|
|
|
if (address->transportStyle == eTransportNTCP) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
supportedTransports |= eNTCPV4; // TODO:
|
|
|
|
|
|
|
|
address->addressString = value; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
supportedTransports |= eSSUV4; // TODO:
|
|
|
|
|
|
|
|
address->addressString = value; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
// add supported protocol
|
|
|
|
// add supported protocol
|
|
|
|
if (address->host.is_v4 ()) |
|
|
|
if (address->host.is_v4 ()) |
|
|
|