[erlang-questions] How to add a option for inet:getopts

Serge Aleynikov serge@REDACTED
Fri Jan 19 04:24:01 CET 2007


The only way to get this socket option accessible from Erlang is to add 
support for it in the network driver (inet_drv.c).

Serge

William Gan wrote:
> Hello,
> 
> I am preparing to implement a transparent proxy by erlang, and I need an
> equivalent call for
> 'getsockopt(fd,SOL_IP,SO_ORIGINAL_DST,&server,&slen)'. 
> 
> Can anyone give me some advice how to add such a call in erlang?
> 
> William Gan
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
> 




More information about the erlang-questions mailing list