#include <zmq.hpp>
Public Member Functions |
| socket_t (context_t &context_, int type_) |
| ~socket_t () |
| operator void * () const |
void | close () |
void | setsockopt (int option_, const void *optval_, size_t optvallen_) |
void | getsockopt (int option_, void *optval_, size_t *optvallen_) |
void | bind (const char *addr_) |
void | connect (const char *addr_) |
bool | connected () const |
size_t | send (const void *buf_, size_t len_, int flags_=0) |
bool | send (message_t &msg_, int flags_=0) |
size_t | recv (void *buf_, size_t len_, int flags_=0) |
bool | recv (message_t *msg_, int flags_=0) |
Detailed Description
Definition at line 279 of file zmq.hpp.
Constructor & Destructor Documentation
zmq::socket_t::socket_t |
( |
context_t & |
context_, |
|
|
int |
type_ |
|
) |
| |
|
inline |
zmq::socket_t::~socket_t |
( |
| ) |
|
|
inline |
Member Function Documentation
void zmq::socket_t::bind |
( |
const char * |
addr_ | ) |
|
|
inline |
void zmq::socket_t::close |
( |
| ) |
|
|
inline |
void zmq::socket_t::connect |
( |
const char * |
addr_ | ) |
|
|
inline |
bool zmq::socket_t::connected |
( |
| ) |
const |
|
inline |
void zmq::socket_t::getsockopt |
( |
int |
option_, |
|
|
void * |
optval_, |
|
|
size_t * |
optvallen_ |
|
) |
| |
|
inline |
zmq::socket_t::operator void * |
( |
| ) |
const |
|
inline |
size_t zmq::socket_t::recv |
( |
void * |
buf_, |
|
|
size_t |
len_, |
|
|
int |
flags_ = 0 |
|
) |
| |
|
inline |
bool zmq::socket_t::recv |
( |
message_t * |
msg_, |
|
|
int |
flags_ = 0 |
|
) |
| |
|
inline |
size_t zmq::socket_t::send |
( |
const void * |
buf_, |
|
|
size_t |
len_, |
|
|
int |
flags_ = 0 |
|
) |
| |
|
inline |
bool zmq::socket_t::send |
( |
message_t & |
msg_, |
|
|
int |
flags_ = 0 |
|
) |
| |
|
inline |
void zmq::socket_t::setsockopt |
( |
int |
option_, |
|
|
const void * |
optval_, |
|
|
size_t |
optvallen_ |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: