c++builder - What is corresponding to GStack.HostToNetwork() in Indy10 -
my environment:
c++ builder xe4 indy 10.6.0.4975 i searching information on conversion host byte order network byte order.
i found info indy 9 using gstack.hosttonetwork(). however, not find 1 indy10.
what corresponding 1 indy10?
you have information backwards.
there no tidstack::hosttonetwork() (or tidstack::networktohost()) methods in indy 9. tidstack::wshton...() (and tidstack::wsntoh...()) instead.
tidstack::hosttonetwork() is indy 10. there hosttolittleendian() (and littleendiantohost()) functions in idglobal.hpp.
Comments
Post a Comment