# ZMQSocket::getSocketType

(PECL zmq >= 0.5.0)

ZMQSocket::getSocketType — Get the socket type

### Beschreibung

public ZMQSocket::getSocketType(): int

Gets the socket type.

### Parameter-Liste

Diese Funktion besitzt keine Parameter.

### Rückgabewerte

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

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open