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

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

ios - Possible to get UIButton sizeThatFits to work? -