Function silc_socket_alloc
SYNOPSIS
void silc_socket_alloc(int sock, SilcSocketType type, void *user_data,
SilcSocketConnection *new_socket);
DESCRIPTION
Allocates a new socket connection object. The allocated object is
returned to the new_socket argument. The `sock' is the socket
for the connection, the `type' the initial type of the connection and
the `user_data' a application specific pointer.