Copyright © 2007, 2008 Scott Parish <srp@srparish.net>
Behaviours: gen_server.
Authors: Scott Parish (srp@srparish.net).
crary:start/3.
| accepted/1 | crary_sock calls this to notify this module that it
has successfully accept(2)ed a new connection. |
| start_link/2 | Start a crary_port server to listen on a port. |
| start_link/3 | Start a crary_port server to listen on a port. |
accepted() -> term()
crary_sock calls this to notify this module that it
has successfully accept(2)ed a new connection. This module can then
start a new crary_sock to start listening for the next
connection.
start_link(TcpPort::integer(), Handler::crary:mfa()) -> {ok, pid()} | ignore | {error, {already_started, pid()}} | {error, term()}
Start a crary_port server to listen on a port. Its not
preferable to call this directly; see crary:start/2
start_link(TcpPort::integer(), Handler::crary:mfa(), Options::crary:proplist()) -> {ok, pid()} | ignore | {error, {already_started, pid()}} | {error, term()}
Start a crary_port server to listen on a port. Its not
preferable to call this directly; see crary:start/3
See also: start_link/3.
Generated by EDoc, Mar 14 2008, 22:35:53.