• Mikio Hara's avatar
    net, syscall: remove BindToDevice API from UDPConn, IPConn · cf4acf80
    Mikio Hara authored
    For now a pair of socket options SOL_SOCKET and SO_BINDTODEVICE
    is supported on Linux only. I'd like to demote BindToDevice API
    to syscall level because it's Linux dependent one.
    
    In the near future, probably we may have a bit more portable
    API that using IPROTO_IP/IPV6 level socket options to specify,
    identify an inbound, outbound IP interface on incoming, outgoing
    UDP and raw IP packets.
    
    R=cw, golang-dev
    CC=golang-dev
    https://golang.org/cl/5447071
    cf4acf80
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...