mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-25 01:23:22 +01:00
c590518e0c
Support exit node on Android. With the protect socket function, we mark every connection that should be used out of VPN.
14 lines
283 B
Go
14 lines
283 B
Go
package net
|
|
|
|
import (
|
|
"net"
|
|
)
|
|
|
|
func DialUDP(network string, laddr, raddr *net.UDPAddr) (*net.UDPConn, error) {
|
|
return net.DialUDP(network, laddr, raddr)
|
|
}
|
|
|
|
func DialTCP(network string, laddr, raddr *net.TCPAddr) (*net.TCPConn, error) {
|
|
return net.DialTCP(network, laddr, raddr)
|
|
}
|