Module esip_socket

Behaviours: ?GEN_SERVER.

Function Index

close/1
code_change/3
connect/1TCP connect.
connect/2first 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/0Start TCP client to connect, the callback.
start/2
start_link/0Start TCP client to connect.
start_link/1Start UDP worker.
start_link/2Start TCP acceptor.
start_pool/0
tcp_init/2
terminate/2
udp_init/2
udp_recv/5

Function Details

close/1

close(Sip_socket) -> any()

code_change/3

code_change(OldVsn, State, Extra) -> any()

connect/1

connect(Addrs) -> any()

TCP connect

connect/2

connect(Addrs, Sip_socket) -> any()

first is UDP connect, second is TCP

get_pool_size/0

get_pool_size() -> any()

handle_call/3

handle_call(Request, From, State) -> any()

handle_cast/2

handle_cast(Msg, State) -> any()

handle_info/2

handle_info(Info, State) -> any()

init/1

init(X1) -> any()

send/2

send(Sip_socket, Data) -> any()

socket_type/0

socket_type() -> any()

sockname/1

sockname(Sip_socket) -> any()

start/0

start() -> any()

Start TCP client to connect, the callback

start/2

start(X1, Opts) -> any()

start_link/0

start_link() -> any()

Start TCP client to connect

start_link/1

start_link(I) -> any()

Start UDP worker

start_link/2

start_link(Sock, Opts) -> any()

Start TCP acceptor

start_pool/0

start_pool() -> any()

tcp_init/2

tcp_init(ListenSock, Opts) -> any()

terminate/2

terminate(Reason, State) -> any()

udp_init/2

udp_init(Sock, Opts) -> any()

udp_recv/5

udp_recv(Sock, Addr, Port, Data, Opts) -> any()


Generated by EDoc