Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#1104 closed enhancement (fixed)

Hostname local suffix in iPhone OS — at Version 2

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-1.7
Component: pjlib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by ming)

In iPhone OS 4, by default, local hostname doesn't have the word ".local" appended to it, hence getaddrinfo(gethostname()) will trigger a real DNS query.

Change History (2)

comment:1 Changed 10 years ago by ming

  • Resolution set to fixed
  • Status changed from new to closed

(In [3238]) Fixed #1104: Append ".local" to the system's hostname in IOS 4.

comment:2 Changed 10 years ago by ming

  • Description modified (diff)
Note: See TracTickets for help on using tickets.