net: cannot bind network card to send data on macos #32722
Closed
Milestone
Comments
CC @mikioh |
Is there a temporary solution? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
go1.11.0
macOS Mojave
I added two default routes that direct all traffic to a single virtual network card. Then I want to send the test program data directly from the physical network card. I first used bind(),but an error occured while establishing the connection: [connect: no route to host]
On Windows and Linux, I can use the bind() function to bind network cards to send data. Is there any way to do it on a MAC?
The text was updated successfully, but these errors were encountered: