Behaviours: ?GEN_SERVER.
close/1 | |
code_change/3 | |
connect/1 | TCP connect. |
connect/2 | first is UDP connect, second is TCP. |
get_pool_size/0 | |
handle_call/3 | |
handle_cast/2 | |
handle_info/2 | |
init/1 | |
send/2 | |
socket_type/0 | |
sockname/1 | |
start/0 | Start TCP client to connect, the callback. |
start/2 | |
start_link/0 | Start TCP client to connect. |
start_link/1 | Start UDP worker. |
start_link/2 | Start TCP acceptor. |
start_pool/0 | |
tcp_init/2 | |
terminate/2 | |
udp_init/2 | |
udp_recv/5 |
close(Sip_socket) -> any()
code_change(OldVsn, State, Extra) -> any()
connect(Addrs) -> any()
TCP connect
connect(Addrs, Sip_socket) -> any()
first is UDP connect, second is TCP
get_pool_size() -> any()
handle_call(Request, From, State) -> any()
handle_cast(Msg, State) -> any()
handle_info(Info, State) -> any()
init(X1) -> any()
send(Sip_socket, Data) -> any()
socket_type() -> any()
sockname(Sip_socket) -> any()
start() -> any()
Start TCP client to connect, the callback
start(X1, Opts) -> any()
start_link() -> any()
Start TCP client to connect
start_link(I) -> any()
Start UDP worker
start_link(Sock, Opts) -> any()
Start TCP acceptor
start_pool() -> any()
tcp_init(ListenSock, Opts) -> any()
terminate(Reason, State) -> any()
udp_init(Sock, Opts) -> any()
udp_recv(Sock, Addr, Port, Data, Opts) -> any()
Generated by EDoc