> | > and base2power func > | > > If you know how to write it, you can put this function in an external unit of > your own.. doesn't have to be in the original unit, if others don't want it > there. I use an IP address converter function when using sockets that isn't in > the sockets.pp, which is just a wrapper around shl. Handy in this situation, > because Copy and Pasting ip addresses is not easy when you always have to > convert to shl.
In 2.0 afaik there are routines to convert IPs in string form to a value, in an endian correct way. htons and strtoaddr or so. _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
