SocketAbstract>>queryPort quirk

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SocketAbstract>>queryPort quirk

Maxim Fridental
The method returns the member sin_port of SOCKADDR_IN without previously
converting it to the little-endian format with htons. Is this intentional?


Reply | Threaded
Open this post in threaded view
|

Re: SocketAbstract>>queryPort quirk

Blair McGlashan
Maxim

You wrote in message news:bhqfmp$22geg$[hidden email]...
> The method returns the member sin_port of SOCKADDR_IN without previously
> converting it to the little-endian format with htons. Is this intentional?

I suspect not. Recorded as #1317.

Thanks

Blair