[Top]
Stdio
Stdio.Port
|
Method Stdio.Port()->create()
- Method
create
void Stdio.Port()->create()
void Stdio.Port()->create(int port)
void Stdio.Port()->create(int port, function accept_callback)
void Stdio.Port()->create(int port, function accept_callback, string ip)
void Stdio.Port()->create("stdin")
void Stdio.Port()->create("stdin", function accept_callback)
- Description
-
If the first argument is other than "stdin" the arguments will
be passed to Stdio.Port.bind.
When create is called with "stdin" as the first argument, a
socket is created out of the file descriptor 0. This is only
useful if that actually is a socket to begin with.
- See also
Stdio.Port.bind
|