8

creating a binary blob in linux

view full story
linux-howto

http://www.linuxquestions.org – Hello Everyone, I have a requirement to create a binary blob of a structure in my program. Let me describe the problem; Process(P1) <-------> Process(P2) {Connect_REQ} {Connect_Resp} ..... ..... ..... I need to send a structure struct XX {.name="abc",.value=1, //etc} in the form of binary blob format to process-P2, in connect request. Can any one of you shed your knowledge on binary blob format and how can we encode a structure into that format. Any help/pointers is highly appreciated!! (HowTos)