Date: Sat, 19 Oct 2002 15:12:59 -0500 (CDT) From: Don Read <dread@texas.net> To: Angelin Lazarov Lalev <alalev@uni-svishtov.bg> Cc: questions@FreeBSD.ORG Subject: RE: C programming help ? Message-ID: <XFMail.20021019151259.dread@texas.net> In-Reply-To: <3DB13F5D.1060908@uni-svishtov.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
On 19-Oct-2002 Angelin Lazarov Lalev wrote: > 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)? > > <A HREF=http://www.faqs.org/rfcs/rfc1014.html>RFC 1014</A> man xdr Regards, -- Don Read dread@texas.net -- "Beer is proof that God loves us and wants us to be happy." 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?XFMail.20021019151259.dread>