Lines Matching defs:socket
25 * socket.c, Code implementing a simple socket interface.
35 #include <sys/socket.h>
52 /* Default send and receive socket buffer size */
56 /* Default max socket buffer size */
65 /* Check the validity of a fd and return the socket index of that fd. */
92 socket(int domain, int type, int protocol)
109 /* Find available socket */
119 /* Some socket initialization... */
176 * The socket options we support are:
297 * The socket options we support are:
470 * "close" a socket.
511 * Read up to `nbyte' of data from socket `s' into `buf'; if non-zero,
542 * `addr' using socket `s'. Returns the number of bytes writte on success,
577 /* Assign a name to an unnamed socket. */
732 /* Don't allow connect for raw socket. */
748 /* If the socket is not bound, we need to do a quick bind. */
750 /* For TCP socket, just call tcp_bind(). */
788 * Receive messages from a connectionless socket. Legal flags are 0 and
888 /* Need to copy from the socket's remote address. */
987 * Transmit a message through a socket.
1090 /* Get a legal source port if the socket isn't bound. */
1139 * TCP socket.