Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SO_BINDTODEVICE to sockopt. #1234

Closed
wants to merge 1 commit into from
Closed

Add SO_BINDTODEVICE to sockopt. #1234

wants to merge 1 commit into from

Conversation

mger1
Copy link

@mger1 mger1 commented May 8, 2020

On Linux you can bind to a network device by using setsockopt with the SO_BINDTODEVICE option and a string with the name of the ethernet interface.

@asomers
Copy link
Member

asomers commented May 8, 2020

Hm, do you work with @jeandudey or something? Closing as a duplicate of #1233 .

@asomers asomers closed this May 8, 2020
@jeandudey
Copy link
Contributor

@asomers may be a coincidence, was a surprise for me

@mger1
Copy link
Author

mger1 commented May 8, 2020

It is indeed a coincidence. Although a weird one within minutes.

@asomers
Copy link
Member

asomers commented May 8, 2020

Super weird. Is this the latest hot new feature that just got released this morning?

@jeandudey
Copy link
Contributor

Super weird. Is this the latest hot new feature that just got released this morning?

These days doing weird things with Linux network interfaces/sockets has become pretty popular

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants