Lines Matching refs:port
71 * Create the socket server and bind to a specific port to listen for clients.
74 * @param int|null $port
79 public function listen(string $ip, ?int $port): self
91 if ($transport !== 'unix' && $port === null) {
92 throw new ConnectionException('The port must be set if not using a unix based socket.');
96 if ($port !== null && $transport !== 'unix') {
97 $uri .= ':' . $port;
175 * Create the socket server. Binds and listens on a specific port
178 * @param int|null $port
185 ?int $port,
190 $port
198 * @param int $port
205 int $port,
210 $port,
222 * @param int $port
229 int $port,
234 $port,