Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

shared memory

Hi all,
I need a small help. Can you please give me a small example on how i can declare a structure in share memory. Let me explain more...
void example
{
struct sockaddr_in sa;
//in general suggestion declare is like that
memset(&sa, 0, sizeof(struct sockaddr_in));

....
}

but i need to declare
struct sockaddr_in sa;
in shared memory so that other application can use this memory and communicate with client application.
i use suse 11.0 os.

I really need this help.
best regards,
johny

Comments

Sign In or Register to comment.