PHPKonf Istanbul PHP Conference 2019 - Call for Papers

The ZMQSocket class

(No version information available, might only be in Git)

Introduction

Class synopsis

ZMQSocket {
/* Methods */
public bind ( string $dsn [, bool $force = FALSE ] ) : ZMQSocket
public connect ( string $dsn [, bool $force = FALSE ] ) : ZMQSocket
__construct ( ZMQContext $context , int $type [, string $persistent_id = NULL [, callback $on_new_socket = NULL ]] )
public disconnect ( string $dsn ) : ZMQSocket
public getEndpoints ( void ) : array
public getPersistentId ( void ) : string
public getSocketType ( void ) : int
public getSockOpt ( string $key ) : mixed
public isPersistent ( void ) : bool
public recv ([ int $mode = 0 ] ) : string
public recvMulti ([ int $mode = 0 ] ) : array
public send ( string $message [, int $mode = 0 ] ) : ZMQSocket
public send ( array $message [, int $mode = 0 ] ) : ZMQSocket
public setSockOpt ( int $key , mixed $value ) : ZMQSocket
public unbind ( string $dsn ) : ZMQSocket
}

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top