[Erlang Systems]

ssl

MODULE

MODULE SUMMARY

DESCRIPTION

Common data types

EXPORTS

accept(ListenSocket) -> {ok, Socket} | {error, Reason}
accept(ListenSocket, Timeout) -> {ok, Socket} | {error, Reason}

close(Socket) -> ok | {error, Reason}

connect(Address, Port, Options) -> {ok, Socket} | {error, Reason}
connect(Address, Port, Options, Timeout) -> {ok, Socket} | {error, Reason}

controlling_process(Socket, NewOwner) -> ok | {error, Reason}

format_error(ErrorCode) -> string()

listen(Port, Options) -> {ok, ListenSocket} | {error, Reason}

peername(Socket) -> {ok, {Address, Port}} | {error, Reason}

pid(Socket) -> pid()

port(Socket) -> {ok, Port}

recv(Socket, Length) -> {ok, Data} | {error, Reason}
recv(Socket, Length, Timeout) -> {ok, Data} | {error, Reason}

send(Socket, Data) -> ok | {error, Reason}

setopts(Socket, Options) -> ok | {error, Reason}

sockname(Socket) -> {ok, {Address, Port}} | {error, Reason}

ERRORS

SEE ALSO

AUTHORS


ssl 2.3.1
Copyright © 1991-2000 Ericsson Utvecklings AB