The ZMQSocket class

(PECL zmq >= 0.5.0)

Introduction

Class synopsis

classZMQSocket {
publicbind(string$dsn, bool$force = false): ZMQSocket
publicconnect(string$dsn, bool$force = false): ZMQSocket
public__construct(
    ZMQContext$context,
    int$type,
    string$persistent_id = null,
    callable$on_new_socket = null
)
publicgetSockOpt(string$key): mixed
publicrecv(int$mode = 0): string
publicrecvMulti(int$mode = 0): array
publicsend(string$message, int$mode = 0): ZMQSocket
publicsendmulti(array$message, int$mode = 0): ZMQSocket
publicsetSockOpt(int$key, mixed$value): ZMQSocket
publicunbind(string$dsn): ZMQSocket
}

Table of Contents

To Top