Home
last modified time | relevance | path

Searched refs:socket (Results 1 – 25 of 50) sorted by relevance

12

/plugin/pureldap/vendor/freedsx/socket/src/FreeDSx/Socket/
H A DSocket.php38 protected $socket; variable in FreeDSx\\Socket\\Socket
102 $this->socket = $resource;
111 if ($this->socket !== null) {
132 \stream_set_blocking($this->socket, true);
143 @\fwrite($this->socket, $data);
164 return $this->socket !== null && !@\feof($this->socket);
180 if ($this->socket !== null) {
183 $this->socket = null;
228 $socket = @\stream_socket_client(
236 if ($socket === false) {
[all …]
H A DSocketServer.php62 $socket = @\stream_socket_server(
69 if ($socket === false) {
77 $this->socket = $socket;
88 $socket = @\stream_socket_accept($this->socket, $timeout);
89 if (\is_resource($socket)) {
90 $socket = new Socket($socket, \array_merge($this->options, [
93 $this->clients[] = $socket;
96 return $socket instanceof Socket ? $socket : null;
110 return \stream_socket_recvfrom($this->socket, 65507, 0, $ipAddress);
122 * @param Socket $socket
[all …]
/plugin/recaptcha2/lib/ReCaptcha/RequestMethod/
H A DSocketPost.php64 private $socket; variable in ReCaptcha\\RequestMethod\\SocketPost
71 public function __construct(Socket $socket = null) argument
73 if (!is_null($socket)) {
74 $this->socket = $socket;
76 $this->socket = new Socket();
91 …if ($this->socket->fsockopen('ssl://' . self::RECAPTCHA_HOST, 443, $errno, $errstr, 30) !== false)…
101 $this->socket->fwrite($request);
104 while (!$this->socket->feof()) {
105 $response .= $this->socket->fgets(4096);
108 $this->socket->fclose();
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/SyslogUdp/
H A DUdpSocket.php26 protected $socket; variable in Monolog\\Handler\\SyslogUdp\\UdpSocket
39 $this->socket = socket_create($domain, SOCK_DGRAM, $protocol) ?: null;
54 if (is_resource($this->socket) || $this->socket instanceof Socket) {
55 socket_close($this->socket);
56 $this->socket = null;
62 if (!is_resource($this->socket) && !$this->socket instanceof Socket) {
65 socket_sendto($this->socket, $chunk, strlen($chunk), $flags = 0, $this->ip, $this->port);
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/
H A DLdapQueue.php43 protected $socket; variable in FreeDSx\\Ldap\\Protocol\\LdapQueue
50 public function __construct(Socket $socket, EncoderInterface $encoder = null) argument
52 parent::__construct($socket, $encoder ?? new LdapEncoder());
63 $this->socket->block(true);
64 $this->socket->encrypt(true);
65 $this->socket->block(false);
75 return ($this->socket->isConnected() && $this->socket->isEncrypted());
83 $this->socket->close();
142 $this->socket->write(\substr($buffer, 0, self::BUFFER_SIZE));
147 $this->socket->write($buffer);
[all …]
/plugin/elwikiupgrade/
H A DHTTPClient.php262 $socket = null;
267 if (is_null($socket) || feof($socket)) {
271 if (!$socket){
288 fclose($socket);
376 fclose($socket);
471 fclose($socket);
478 fclose($socket);
579 if(feof($socket))
584 $sel_w = array($socket);
626 if(feof($socket)) {
[all …]
/plugin/upgrade/
H A DHTTPClient.php262 $socket = null;
267 if (is_null($socket) || feof($socket)) {
271 if (!$socket){
288 fclose($socket);
376 fclose($socket);
471 fclose($socket);
478 fclose($socket);
579 if(feof($socket))
584 $sel_w = array($socket);
626 if(feof($socket)) {
[all …]
/plugin/linkback/
H A Dhttp.php113 if (!$socket) {
119 stream_set_blocking($socket, 0);
131 fputs($socket, $request);
140 if (feof($socket)) {
210 if (feof($socket)) {
219 $byte = fread($socket, 1);
225 $this_chunk = fread($socket, $chunk_size);
243 while (!feof($socket)) {
249 $r_body .= fread($socket, 4096);
262 $status = socket_get_status($socket);
[all …]
/plugin/revealjs/plugin/notes-server/
H A Dindex.js18 io.on( 'connection', function( socket ) { argument
20 socket.on( 'new-subscriber', function( data ) {
21 socket.broadcast.emit( 'new-subscriber', data );
24 socket.on( 'statechanged', function( data ) {
26 socket.broadcast.emit( 'statechanged', data );
29 socket.on( 'statechanged-speaker', function( data ) {
31 socket.broadcast.emit( 'statechanged-speaker', data );
H A Dclient.js6 var socket = io.connect( window.location.origin ), variable
39 socket.emit( 'statechanged', messageData );
44 socket.on( 'new-subscriber', function( data ) {
49 socket.on( 'statechanged-speaker', function( data ) {
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
H A DSyslogUdpHandler.php39 protected $socket; variable in Monolog\\Handler\\SyslogUdpHandler
67 $this->socket = new UdpSocket($host, $port);
77 $this->socket->write($line, $header);
83 $this->socket->close();
144 public function setSocket(UdpSocket $socket): self argument
146 $this->socket = $socket;
/plugin/pureldap/vendor/freedsx/socket/src/FreeDSx/Socket/Queue/
H A DMessageQueue.php27 protected $socket; variable in FreeDSx\\Socket\\Queue\\MessageQueue
40 * @param Socket $socket
42 public function __construct(Socket $socket) argument
44 $this->socket = $socket;
88 $bytes = $this->socket->read();
134 if ($this->toConsume === '' && ($peek = $this->socket->read(false)) !== false) {
H A DAsn1MessageQueue.php37 * @param Socket $socket
41 public function __construct(Socket $socket, EncoderInterface $encoder, ?string $pduClass = null) argument
52 parent::__construct($socket);
/plugin/diagramsnet/lib/js/diagramly/
H A DP2PCollab.js3 socket = io(App.SOCKET_IO_SRV);
32 socket.emit('message', msg);
128 socket.on('message', processMsg);
143 socket.emit('sendSignal', {to: id, from: myClientId, signal: data});
160 socket.emit('movedToP2P', '');
176 socket.on('clientsList', function(data)
186 socket.on('signal', function(data)
203 socket.on('newClient', function(clientId)
211 socket.emit('join', {name: channelId});
/plugin/html2pdf/html2pdf/html2ps/
H A Dfetcher.url.class.php320 $socket = $this->_connect();
321 if (is_null($socket)) { return null; };
333 fputs ($socket, $header);
344 $res = fread($socket, 1024*1024);
347 fclose($socket);
353 $socket = $this->_connect();
355 if (is_null($socket)) { return null; };
371 fputs ($socket, $header);
382 $res = fread($socket, 4096);
385 fclose($socket);
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Server/ServerRunner/
H A DPcntlServerRunner.php54 while ($socket = $this->server->accept()) {
60 new ServerQueue($socket),
65 $this->server->removeClient($socket);
/plugin/revealjs/plugin/multiplex/
H A Dclient.js4 var socket = io.connect(multiplex.url); variable
6 socket.on(multiplex.id, function(data) {
H A Dindex.js18 io.on( 'connection', function( socket ) { argument
19 socket.on('multiplex-statechanged', function(data) {
23 socket.broadcast.emit(data.socketId, data);
H A Dmaster.js8 var socket = io.connect( multiplex.url ); variable
18 socket.emit( 'multiplex-statechanged', messageData );
/plugin/gemini/
H A Dcli.php87 $socket = stream_socket_server(
94 if ($socket === false) throw new \splitbrain\phpcli\Exception($errstr, $errno);
107 $conn = stream_socket_accept($socket, -1, $peername);
/plugin/pureldap/vendor/freedsx/socket/
H A DREADME.md2 A simple socket library for use in other FreeDSx libraries.
/plugin/pureldap/
H A Dcomposer.lock82 "freedsx/socket": "^0.4.0",
178 "name": "freedsx/socket",
221 "description": "A simple socket library for FreeDSx",
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/Queue/
H A DClientQueue.php102 $this->socket = $this->socketPool->connect();
/plugin/diagramsnet/lib/WEB-INF/lib/
H A Dhttpcore-4.4.9.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...
/plugin/elasticsearch/vendor/nyholm/dsn/
H A DREADME.md38 memcached:///var/local/run/memcached.socket?weight=25
261 - scheme:///var/local/run/memcached.socket?weight=25
262 - scheme://user:pass@/var/local/run/memcached.socket?weight=25

12