Hi Volker, Thanks for let me know. actually, there are no security concerns in my program. What do you means with 'unportable?' do you means CPU bit type? like integer size?, i want to learn socket programming, so i must understand it from scratch, not simply by using a library wrapper. --- kokula@xxxxxxxxxxxxxxxxxxxxxxxxxxx wrote: From: Volker Kokula <kokula@xxxxxxxxxxxxxxxxxxxxxxxxxxx> To: ajhwb@xxxxxxxx CC: linux-c-programming@xxxxxxxxxxxxxxx Subject: Re: Socket programming Date: Sun, 22 Mar 2009 14:41:22 +0100 Hi Ardhan, you're going to write an enterly unportable and insecure program. If you want just send a structure from one host to another look for a library which does the packing and unpacking over the network for you. For example json-c [1] or csoap [2] Volker [1] http://oss.metaparadigm.com/json-c/ [2] http://sourceforge.net/projects/csoap/ _____________________________________________________________ Listen to KNAC, Hit the Home page and Tune In Live! ---> http://www.knac.com -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html