Media/WebRTC/WebRTCE10S/NetworkProxyInterface: Difference between revisions

Jump to navigation Jump to search
Line 2: Line 2:


==== Address Enumeration ====
==== Address Enumeration ====
This should be an RPC-style call.


  EnumerateInterfaces()
    nsresult EnumerateInterfaces(std::vector<Interface>* interfaces);
      
      
     Returns a sequence of:
     Returns a sequence of:
    {
 
    struct Interface {
       string name;
       string name;
       PRNetAddr address;
       PRNetAddr address;
Line 12: Line 14:
     }
     }
     enum InterfaceType { Local, Wired, WiFi, Mobile, Virtual };
     enum InterfaceType { Local, Wired, WiFi, Mobile, Virtual };
it would be best if this were a synchronous RPC call, but if it has to be async we can live with that.


==== Socket Management ====
==== Socket Management ====
Confirmed users
214

edits

Navigation menu