Lines Matching defs:hostbuf
1241 char hostbuf[100];
1244 strncpy(hostbuf, host, sizeof(hostbuf) - 1);
1246 if (portstr - host >= (ptrdiff_t)sizeof(hostbuf)) {
1251 hostbuf[portstr - host] = 0;
1260 snprintf(serial, sizeof(serial), "%s:%d", hostbuf, port);
1266 fd = socket_network_client(hostbuf, port, SOCK_STREAM);
1419 char hostbuf[100];
1422 snprintf(hostbuf, sizeof(hostbuf) - 1, "%s:5555", serial);
1423 serial = hostbuf;