sys_socket_test.cpp | 29 const char* sock_path; member in struct:ConnectData 31 : callback_fn(callback_func), sock_path(socket_path) {} 49 strcpy(addr.sun_path + 1, pdata->sock_path); 65 bool (*callback_fn)(int fd), const char* sock_path) { 73 strcpy(addr.sun_path + 1, sock_path); 79 ConnectData connect_data(callback_fn, sock_path);
|