ZMQSocket::getSocketType

(PECL zmq >= 0.5.0)

ZMQSocket::getSocketTypeGet the socket type

说锟斤拷

public ZMQSocket::getSocketType ( void ) : int

Gets the socket type.

锟斤拷锟斤拷

锟剿猴拷锟斤拷没锟叫诧拷锟斤拷锟斤拷

锟斤拷锟斤拷值

Returns an integer representing the socket type. The integer can be compared against ZMQ::SOCKET_* constants.