Searched refs:server (Results 1 - 10 of 10) sorted by relevance

/ast/src/lib/libcs/
H A Dcsserve.c26 * obsolete generic server state machine
47 register Server_t* server = (Server_t*)disc; local
49 return (*server->con)(server->handle, fp->fd, ip, 0, av) ? -1 : fp->fd;
55 register Server_t* server = (Server_t*)disc; local
60 if (server->rd)
61 return (*server->rd)(server->handle, fp->fd) < 0 ? -1 : 1;
64 if (server->wr)
65 return (*server
74 register Server_t* server = (Server_t*)disc; local
143 register Server_t* server; local
[all...]
H A Dgenlocal.sh105 server=
107 do case $server in
108 "") server=$host ;;
109 *) server="$server|$host" ;;
184 $server) idle= ;;
H A Dcslib.h51 Server_t* server; /* csserve() state */ \
/ast/src/lib/libtksh/tcl/
H A DtclIOCmd.c24 * Callback structure for accept callback in a TCP server.
1259 * accepts a new connection from a client on a server socket.
1330 * This callback is called when the TCP server channel for which it
1388 int a, server, port;
1396 server = 0;
1406 if (strcmp(arg, "-server") == 0) {
1409 "cannot set -async option for server sockets",
1413 server = 1;
1417 "no argument given for -server option",
1444 if (server
[all...]
H A DtclUnixChan.c68 * on a server socket, more than this number of outstanding requests and
94 int port, char *host, int server,
1729 * is a server socket - the file handler was created automatically
1957 * This function opens a new socket in client or server mode
1971 CreateSocket(interp, port, host, server, myaddr, myport, async)
1976 int server; /* 1 if socket should be a server socket,
2019 if (server) {
2022 * Set up to reuse server addresses automatically and bind to the
2287 * Opens a TCP server socke
[all...]
/ast/src/cmd/coshell/
H A Dcommand.c25 * remote coshell server command interface support
138 * pass job control signals to the server and self
154 * command loop on server stream fd
324 v server version\n\
325 Q kill server and quit\n\
364 server(int fd, int op, int sub, int arg, char* dat) function
808 error(ERROR_OUTPUT|2, con[fd].info.user.fds[2], "%c: unknown server op", op);
H A Dservice.h369 extern void server(int, int, int, int, char*);
H A Devent.c35 "[+NAME?event - shared event client and server]"
36 "[+DESCRIPTION?\bevent\b is a shared event client and server. Events are "
59 "[+info?List the server status pending events by client "
73 "[+stop?Terminate the server. Persistent data is preserved.]"
86 "[l!:log?Log server activity to \astate-name\a.log, where \astate-name\a "
385 * list server info/state
395 log(state, con, 'I', "info server='%s' version=%d.%d host=%s pid=%d uid=%d gid=%d", fmtident(usage), EVENT_MAJOR, EVENT_MINOR, csname(css->state, 0), getpid(), geteuid(), getegid());
1048 * client/server main
1058 int server = 0; local
1087 server
[all...]
H A Dmain.c25 * remote coshell server main
37 "[+NAME?coshell - network shell coprocess server]"
38 "[+DESCRIPTION?\bcoshell\b is a local network shell coprocess server for "
39 "programs using \bcoshell\b(3). There is one \bcoshell\b server per "
40 "user. This server runs as a daemon on the user's home host, and only "
41 "processes running on the home host have access to the server. The "
42 "server controls a background \bksh\b(1) shell process, initiated by "
44 "environment of the local host shell is inherited from the server "
57 "[+?The server is started by running \acoshell +\a. The command exits "
58 "after a child server proces
[all...]
/ast/src/cmd/ksh93/sh/
H A Dio.c225 int server = !!(flags&O_SERVICE); local
300 if (server && !bind(fd, p->ai_addr, p->ai_addrlen) && !listen(fd, 5) || !server && !connect(fd, p->ai_addr, p->ai_addrlen))

Completed in 28 milliseconds