VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Allow user to select network adapter to use from a list

William Keith  (4 Submissions)   Internet/HTML   Intermediate   Wed 3rd February 2021

This code demonstrates two things: firstly, it shows you how to get a list of network adapters, and secondly, it shows you how to bind to one of them that the user selects and connect through it. This is useful for users who have a separate internet and LAN connection, or two LAN connections, or whatever else. To test it, just run the program, and listen on a port and adapter, then type your IP followed by a colon and the port you selected into your browser's address bar and the program will return the headers the browser sent to the browser. Enjoy!

Rate Allow user to select network adapter to use from a list (5(5 Vote))

Download Allow user to select network adapter to use from a list

Allow user to select network adapter to use from a list Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters