/plugin/pureldap/vendor/freedsx/socket/src/FreeDSx/Socket/ |
H A D | Socket.php | 16 * Represents a generic socket. 39 protected $socket; 103 $this->socket = $resource; 112 if ($this->socket !== null) { 125 \stream_set_blocking($this->socket, $block); 126 while (\strlen((string) ($buffer = \fread($this->socket, $this->options['buffer_size']))) > 0) { 130 \stream_set_blocking($this->socket, false); 133 \stream_set_blocking($this->socket, true); 144 @\fwrite($this->socket, $data); 155 \stream_set_blocking($this->socket, 38 protected $socket; global() variable in FreeDSx\\Socket\\Socket [all...] |
H A D | SocketServer.php | 16 * TCP socket server to accept client connections. 71 * Create the socket server and bind to a specific port to listen for clients. 92 throw new ConnectionException('The port must be set if not using a unix based socket.'); 100 $socket = @\stream_socket_server( 107 if ($socket === false) { 109 'Unable to open %s socket (%s): %s', 115 $this->socket = $socket; 126 $socket = @\stream_socket_accept($this->socket, 124 removeClient(Socket $socket) global() argument [all...] |
/plugin/recaptcha2/lib/ReCaptcha/RequestMethod/ |
H A D | SocketPost.php | 64 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/upgrade/HTTP/ |
H A D | HTTPClient.php | 254 $socket = null; 257 $socket = self::$connections[$connectionId]; 259 if (is_null($socket) || feof($socket)) { 261 // open socket 262 $socket = @fsockopen($server,$port,$errno, $errstr, $this->timeout); 263 if (!$socket){ 271 if($this->ssltunnel($socket, $request_url)){ 280 fclose($socket); 286 self::$connections[$connectionId] = $socket; 518 ssltunnel(& $socket, & $requesturl) global() argument 580 sendData($socket, $data, $message) global() argument 625 readData($socket, $nbytes, $message, $ignore_eof = false) global() argument 675 readLine($socket, $message) global() argument [all...] |
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/SyslogUdp/ |
H A D | UdpSocket.php | 26 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/elwikiupgrade/ |
H A D | HTTPClient.php | 262 $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/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/ |
H A D | LdapQueue.php | 47 protected $socket; 54 public function __construct(Socket $socket, EncoderInterface $encoder = null) 56 parent::__construct($socket, $encoder ?? new LdapEncoder()); 60 * Encrypt messages sent by the socket for the queue. 67 $this->socket->block(true); 68 $this->socket->encrypt(true); 69 $this->socket->block(false); 79 return ($this->socket->isConnected() && $this->socket->isEncrypted()); 83 * Cleanly close the socket an 43 protected $socket; global() variable in FreeDSx\\Ldap\\Protocol\\LdapQueue 50 __construct(Socket $socket, EncoderInterface $encoder = null) global() argument [all...] |
/plugin/linkback/ |
H A D | http.php | 111 // open socket 112 $socket = @ fsockopen($server, $port, $errno, $errstr, $this->timeout); 113 if (!$socket) { 119 stream_set_blocking($socket, 0); 131 fputs($socket, $request); 132 // read headers from socket 140 if (feof($socket)) { 141 $this->error = 'Premature End of File (socket)'; 144 $r_headers .= fread($socket, 1); #FIXME read full lines here? 210 if (feof($socket)) { [all...] |
/plugin/revealjs/plugin/notes-server/ |
H A D | index.js | 18 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 D | client.js | 6 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 D | SyslogUdpHandler.php | 39 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 D | MessageQueue.php | 18 * Used to retrieve Messages/PDUs from a socket. 27 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 D | Asn1MessageQueue.php | 37 * @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 D | P2PCollab.js | 3 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 D | fetcher.url.class.php | 320 $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 D | PcntlServerRunner.php | 150 $socket = $childProcess->getSocket(); 151 $this->server->removeClient($socket); 152 $socket->close(); 165 * Accept clients from the socket server in a loop with a timeout. This lets us to periodically check existing 176 $socket = $this->server->accept(self::SOCKET_ACCEPT_TIMEOUT); 179 if ($socket) { 184 $socket->close(); 191 if ($socket === null) { 207 $socket, 214 $socket [all...] |
/plugin/revealjs/plugin/multiplex/ |
H A D | client.js | 4 var socket = io.connect(multiplex.url); variable 6 socket.on(multiplex.id, function(data) {
|
H A D | index.js | 18 io.on( 'connection', function( socket ) { argument 19 socket.on('multiplex-statechanged', function(data) { 23 socket.broadcast.emit(data.socketId, data);
|
H A D | master.js | 8 var socket = io.connect( multiplex.url ); variable 18 socket.emit( 'multiplex-statechanged', messageData );
|
/plugin/gemini/ |
H A D | cli.php | 87 $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 D | README.md | 2 A simple socket library for use in other FreeDSx libraries.
|
/plugin/pureldap/ |
H A D | composer.lock | 85 "freedsx/socket": "^0.5.2", 187 "name": "freedsx/socket", 229 "description": "A simple socket library for FreeDSx",
|
/plugin/diagramsnet/lib/WEB-INF/lib/ |
H A D | httpcore-4.4.9.jar | META-INF/MANIFEST.MF
META-INF/
org/
org/apache/
org/ ... |
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/Queue/ |
H A D | ClientQueue.php | 115 $this->socket = $this->socketPool->connect();
|
/plugin/elasticsearch/vendor/nyholm/dsn/ |
H A D | README.md | 38 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
|