net: cannot bind network card to send data on macos #32722
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Darwin
Milestone
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: