alloc_socket() function
Allocate a new socket for a given netconn.
Arguments
newconn
the netconn for which to allocate a socket
accepted
1 if socket has been created by accept(), 0 if socket has been created by socket()
Return value
the index of the new socket; -1 on error
Functions calling alloc_socket()
Functions called by alloc_socket()
alloc_socket()
printf() all items filtered out
Data read by alloc_socket()
Data written by alloc_socket()
alloc_socket()::i alloc_socket()::lev all items filtered out
alloc_socket()
alloc_socket()::i alloc_socket()::lev all items filtered out
Type of alloc_socket()
alloc_socket()