Lines Matching refs:unix_socket
840 int bind_unix_socket(curl_socket_t sock, const char *unix_socket, in bind_unix_socket() argument
845 size_t len = strlen(unix_socket); in bind_unix_socket()
853 strcpy(sau->sun_path, unix_socket); in bind_unix_socket()
861 unix_socket, SOCKERRNO, sstrerror(SOCKERRNO)); in bind_unix_socket()
870 unix_socket, error, sstrerror(error)); in bind_unix_socket()
876 rc = curlx_win32_stat(unix_socket, &statbuf); in bind_unix_socket()
878 rc = lstat(unix_socket, &statbuf); in bind_unix_socket()
882 unix_socket, errno, strerror(errno)); in bind_unix_socket()
887 logmsg("Error binding socket, failed to stat %s", unix_socket); in bind_unix_socket()
892 rc = unlink(unix_socket); in bind_unix_socket()
895 unix_socket, errno, strerror(errno)); in bind_unix_socket()