"Maurer Martin (CN MUC)" wrote:
> is sock_register only available in kernel space or can it be also used in
> user space
It can be used only in kernel mode.
> to register a new socket ?
That is not what it does according to comments in the code:
> If only kernel space, is there a equivalent function for doing this ? Or
> some kind of wrapper, so a user mode application can register a new socket
> via kernel ?
What are you trying to do? You can create a new socket with
the socket system call, and you can then use bind and/or
connect with that socket.