Searched refs:hostname (Results 1 – 3 of 3) sorted by relevance
97 char *hostname; in create() local99 hostname = strdup(defaultServer); in create()101 hostname = strdup(s); in create()104 if (tcpStream->connect(hostname, CODEC_SERVER_PORT) < 0) { in create()105 ALOGE("couldn't connect to %s\n", hostname); in create()106 free(hostname); in create()110 LOGI("connecting to server %s\n", hostname); in create()111 free(hostname); in create()
86 int TcpStream::connect(const char* hostname, unsigned short port) in connect() argument88 m_sock = socket_network_client(hostname, port, SOCK_STREAM); in connect()
27 int connect(const char* hostname, unsigned short port);