Monday, September 12, 2011, 10:28:17 AM, you wrote:

> The server port comes from a URL, e.g. http://10.44.10.1:80, and I just atoi
> the port. I have checked with a network trace that the correct port is being
> connected to. With previous versions of Traffic Server I never had to
> use ntohs and
> just passed in the atoied number.

Sorry Chris, the question about the port was for Stephen Liu. Before 3.0.0 the 
port value to TSNetConnect was in host order. With the change to use sockaddr 
instead of separate IPv4 address and port the ordering was changed to be 
consistent with the definition of a sockaddr.

Reply via email to