Skip to main content

Zymba Documentation

IO.SocketServer

Text
object @IO.SocketServer(@IO.SocketStream) {
construct(string $endpoint) {}
accept(int $timeout): object {}
}

IO socket server prototype.

Prototype

IO.SocketStream

Methods

CODE
$this.construct(string $endpoint): void
Parameters
NameTypeValueDefault
endpointstring""
CODE
$this.accept(int $timeout): @IO.SocketStream
Parameters
NameTypeValueDefault
timeoutint60
Returns
TypeValue
@IO.SocketStream