[Erlang Systems]

gen_tcp

MODULE

MODULE SUMMARY

DESCRIPTION

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, eperm}

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

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

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

AUTHORS


kernel 2.6.1
Copyright © 1991-2000 Ericsson Utvecklings AB