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/
--
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