ServerSocket local port has bytes reversed on Linux

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: core-libs
    • beta
    • x86
    • linux
    • Verified

      NET_GetPortFromSockaddr returns the port in host byte order,
      but the calling function reverses the order by calling ntohs().
      In other words ntohs() is called twice. Effect only noticed
      on Linux and Solaris x86.

            Assignee:
            Yingxian Wang (Inactive)
            Reporter:
            Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: