socket :: NativeSocket :: bind
SEE: C documentation for more details on the bind operation
# Bind the socket to a local address
#
# SEE: C documentation for more details on the bind operation
fun bind(addrIn: NativeSocketAddrIn): Int `{ return bind(*self, (struct sockaddr*)addrIn, sizeof(*addrIn)); `}
lib/socket/socket_c.nit:165,2--168,111