Slide 158
Slide 158 text
case state
when :start
# ...
hostname_resolution_queue = HostnameResolutionQueue.new(...)
hostname_resolution_waiting = h
# ...
hostname_resolved, _, =
IO.select(
# ...
when :v4w
ipv6_resolved, _, =
IO.select(
# ...
(hostname_resolution_waiting, nil, nil, remaining)
hostname_resolution_queue.waiting_pipe
*NQMFNFOUBUJPOPG4PDLFUUDQXJUI)&WTUBSUWX
"OEJUJTUIFSFBTPOXIZTUBSUBOEWXVTFE*0TFMFDU
UPXBJUGPSOBNFSFTPMVUJPO
(hostname_resolution_waiting, nil, nil, RESOLUTION_DELAY)
8BJUXJUIUIFSFBEJOH*0PCKFDU
8BJUXJUIUIFSFBEJOH*0PCKFDU