i am running a supplicant(open source). In this i am creating a netlink socket. after creation of socket when i am binding that socket with address. is shows following error
bind:Cannot allocate memory.
i had my own protocol for netlink socket creation.
but if i use following netlink socket it works fie
PROBLEM IS AT BINDING TIME NOT DURING SOCKET CREATION.
i am using linux - 2.6.16. can you tell me why this is happening.