Project

General

Profile

Actions

Task #1279

closed

Unified hostname resolution for IP channels

Added by Junxiao Shi about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Faces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h

Description

Implement hostname resolution routines to be shared between TcpChannel and UdpChannel.

  1. The routine takes a FaceMgmt URI with scheme name { tcp, tcp4, tcp6, udp, udp4, udp6 }.
  2. If the URI is valid, resolve hostname into IP addresses.
  3. Pick one IP address. There's no requirement on round-robin. If scheme name is tcp4 or udp4, allow IPv4 only. If scheme name is tcp6 or udp6, allow IPv6 only. Otherwise, allow both IPv4 and IPv6.
Actions

Also available in: Atom PDF