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

Change interface index while sending packets in class [NetworkInterface] #476

Open
ahmedtalaat327 opened this issue May 13, 2022 · 0 comments

Comments

@ahmedtalaat327
Copy link

ahmedtalaat327 commented May 13, 2022

Say I want to choose specific interface ad then sending a packet to specific IP through this interface [acts like a gateway]
using this definition is not possible:

/**
* \brief Constructs a NetworkInterface from an ip address.
*
* This abstracted interface will be the one that would be the gateway
* when sending a packet to the given ip.
*
* \param ip The ip address being looked up.
*/
NetworkInterface(IPv4Address ip);

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

No branches or pull requests

1 participant