|
|
| Author |
Message |
|
| 0x6e6562 |
Posted: Sun Jul 15, 2007 9:42 am |
|
|
|
User
Joined: 12 Jul 2007
Posts: 250
|
Hi,
I've come accross the prim_inet module in some code and I'm trying to
understand what it does as it doesn't seem to have a man page.
Going by a few posts I've googled, it seems to handle socket
connections in a non-blocking fashion and also seems to abstract UDP,
TCP and SCTP to a common receiving/sending interface.
Does anybody know of any documentation, examples or even a general
explanation for prim_inet?
Thanks,
Ben
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Sun Jul 15, 2007 11:07 am |
|
|
|
Guest
|
Hi,
prim_inet is not documented because it is not intended to be a
supported/stable API which we will keep backwards compatible.
prim_inet is only supposed to be used by modules such as gen_udp,
gen_tcp, gen_sctp, inet etc. which are supported and documented API's.
If important functionality is missing in the supported API's it should
be added there and probably in a slightly different way than in
prim_inet (but built on prim_inet).
The general principle that we follow is that what's not documented is
not supported and tested and might change, dissapear or whatever
between releases.
/Kenneth (Erlang/OTP team at Ericsson)
On 7/15/07, Ben Hood <0x6e6562@gmail.com> wrote:
> Hi,
>
> I've come accross the prim_inet module in some code and I'm trying to
> understand what it does as it doesn't seem to have a man page.
>
> Going by a few posts I've googled, it seems to handle socket
> connections in a non-blocking fashion and also seems to abstract UDP,
> TCP and SCTP to a common receiving/sending interface.
>
> Does anybody know of any documentation, examples or even a general
> explanation for prim_inet?
>
> Thanks,
>
> Ben
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@erlang.org
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Post recived from mailinglist |
|
|
| Back to top |
|
| 0x6e6562 |
Posted: Sun Jul 15, 2007 11:41 am |
|
|
|
User
Joined: 12 Jul 2007
Posts: 250
|
Hi,
> prim_inet is not documented because it is not intended to be a
> supported/stable API which we will keep backwards compatible.
> prim_inet is only supposed to be used by modules such as gen_udp,
> gen_tcp, gen_sctp, inet etc. which are supported and documented API's.
Fair enough.
> If important functionality is missing in the supported API's it should
> be added there and probably in a slightly different way than in
> prim_inet (but built on prim_inet).
Is it possible though there is functionality prim_inet that is not
exposed or consumed by the exported APIs (i.e. why would I find code
that uses prim_inet directly)?
Also, it is possible to summarize in a few lines what it does (just
for interest's sake)?
> The general principle that we follow is that what's not documented is
> not supported and tested and might change, dissapear or whatever
> between releases.
Understood.
Thanks,
Ben
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Post recived from mailinglist |
|
|
| Back to top |
|
| timrila |
Posted: Thu Jun 07, 2012 10:03 am |
|
|
|
User
Joined: 28 Mar 2012
Posts: 32
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|