Date: Sat, 19 Oct 2002 14:17:49 +0300 From: Angelin Lazarov Lalev <alalev@uni-svishtov.bg> To: questions@freebsd.org Subject: C programming help ? Message-ID: <3DB13F5D.1060908@uni-svishtov.bg>
next in thread | raw e-mail | index | archive | help
I need to convert some bytes, which are not an internet address, from machine to network byte order (described in RFC1700). I could do it mannualy, assuming a I386 (or some other) architecture, but then my code will be a lot less portable. Is there any function in libc or somewhere else which will do that conversion for me (and will be updated when new architecture is added)? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB13F5D.1060908>