port_get_data Erlang module function not found
Inswitch Solutions - Erlang Evaluation
erlang@REDACTED
Tue Aug 10 19:31:30 CEST 2004
Module inet_db has the following function used by gen_tcp:send/2 :
lookup_socket(Socket) when port(Socket) ->
case catch erlang:port_get_data(Socket) of
Module when atom(Module) ->
{ok, Module};
_ ->
{error, closed}
end.
- could someone tell me what does bif port_get_data/1 do?
- where can I find a description of all erlang BIF?
Thanks,
Eduardo Figoli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20040810/ffda54dd/attachment.htm>
More information about the erlang-questions
mailing list