Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1104 closed enhancement (fixed)

Hostname local suffix in iPhone OS

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 (3)

comment:1 Changed 14 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 14 years ago by ming

  • Description modified (diff)

comment:3 Changed 14 years ago by ming

(In [3240]) Re #1104: Fixed iPhone OS version detection in os_auto.h.in

Note: See TracTickets for help on using tickets.