Lines Matching refs:socket

38 #include <sys/socket.h>
220 // If we have a valid socket, then we are interested in what it has to
260 // Is out bind address dirty? If so, clean up our socket (if any).
261 // Alternatively, do we have an active socket but should be auto
262 // disabled? If so, release the socket and enter the proper sync state.
270 // Do we not have a socket but should have one? If so, try to set one
316 // That's odd... we failed to set up our socket. This could be
323 // point (since we just tried to bulid a new socket). Loop back
327 // We just lost our socket, and for whatever reason (either no
329 // one at this time. We are not going to rebuild our socket until
359 // Does our socket have data for us (assuming we still have one, we
361 // to shut our socket down)? If so, process its data.
410 // This should never be needed, but if we happened to have an old socket
423 "Building socket :: bind = %s master election = %s",
434 // open a UDP socket for the timeline serivce
435 mSocket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
438 "Failed to create socket (errno = %d)", errno);
451 "Failed to bind socket at to interface %s "
456 // Bind our socket to INADDR_ANY and the master election port. The
461 // just a single socket.
471 "Failed to bind socket to port %hu (errno = %d)",
503 // the broadcast socket option
680 // If we have no socket, then this must be a timeout to retry socket setup.
1056 // If we have no socket, then we must be in the unconfigured initial state.
1103 // we must have a socket (when we have no network, we are only supposed to
1142 // socket, we must be in network-less master mode. Don't bother to send the