Android-cuttlefish cvd tool
Functions
network.h File Reference
#include <string>
Include dependency graph for network.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int network_loopback_client (int port, int type, std::string *error)
 
int network_loopback_server (int port, int type, std::string *error, bool prefer_ipv4)
 

Function Documentation

◆ network_loopback_client()

int network_loopback_client ( int  port,
int  type,
std::string *  error 
)

◆ network_loopback_server()

int network_loopback_server ( int  port,
int  type,
std::string *  error,
bool  prefer_ipv4 
)