Query: socket-event
OS: debian
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
socket-event(8) System Manager's Manual socket-event(8)NAMEsocket - event signalling that a socket connection has been madeSYNOPSISsocket PROTO=PROTO PORT=PORT ADDR=ADDR socket PROTO=PROTO PATH=PATHDESCRIPTIONThe socket event is generated by the upstart-socket-bridge(8) daemon when a socket connection is made whose details match the socket event condition and environment specified in a jobs start on or stop on stanza. When an incoming connection is detected, the file descriptor representing the socket is passed to the job in question to allow it to accept(2) the connection. Additionally, the environment variable UPSTART_JOB will contain the name of the event ("socket") and the environ- ment variable UPSTART_FDS will contain the number of the file descriptor corresponding to the listening socket.EXAMPLESInternet socket Start web server when first client connects from localhost: start on socket PROTO=inet PORT=80 ADDR=127.0.0.1 Local socket start on socket PROTO=unix PATH=/var/run/.s.pgsql.1234 Abstract socket start on socket PROTO=unix PATH=@/at/upstart/exampleAUTHORWritten by Scott James Remnant <scott@netsplit.com> Manual page written by James Hunt <james.hunt@ubuntu.com>BUGSReport bugs at <https://launchpad.net/upstart/+bugs>COPYRIGHTCopyright (C) 2011 Canonical Ltd. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE.SEE ALSOinit(5) init(8) socket(2) socket(7) upstart-socket-bridge(8) upstart 2011-03-08 socket-event(8)
Related Man Pages |
---|
systemd-socket-proxyd(8) - opensolaris |
systemd-socket-proxyd(8) - xfree86 |
systemd-socket-proxyd(8) - debian |
systemd-socket-proxyd(8) - osx |
systemd-socket-proxyd(8) - sunos |
Similar Topics in the Unix Linux Community |
---|
socket scripting |
Naming a socket |
fcntl on socket |
Why Do You Need the Explicit Pathname to Execute? |
A Basic example of socket programming in C |