Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: Binary Fromat



On 03 Dec 2003 03:13:41 GMT, [EMAIL PROTECTED] (Girish Pal Singh)
wrote in comp.lang.c.moderated:

> I hava a c structure which corresponds to a network packet i wnat to
> write it in the Network packet format such that it is portable across
> all platforms.
> How could I do it
> ?

You should consult the documentation for your compiler and operating
system to find out what functions they make available for doing this
sort of thing.  The C language itself does not support packers,
multiple platform formats, or any sort of networking, so this is not a
language issue.

-- 
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq
-- 
comp.lang.c.moderated - moderation address: [EMAIL PROTECTED]



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.