HTTPSocket -- Specify network interface


Is it possible to specify the network interface the should be used when constructing a new HTTPSocket (or UDPSocket for that matter).

The issue that I’m running into is that newer Mac laptops that no longer have a dedicated ethernet port do not report a thunderbolt ethernet adapter as en0 even if it is promoted to the primary interface in the network settings.

This causes HTTPSockets to be created with a connection via Wi-Fi if the user has it enabled.

Is there a way to specify which interface should be used for an HTTPSocket connection?

Thanks for the help.

Change the socket’s NetworkInterface property.

Not sure how I missed that >.<

Thanks for the help!