Lines Matching refs:unix_socket
836 int bind_unix_socket(curl_socket_t sock, const char *unix_socket, in bind_unix_socket() argument
841 size_t len = strlen(unix_socket); in bind_unix_socket()
849 strcpy(sau->sun_path, unix_socket); in bind_unix_socket()
857 unix_socket, SOCKERRNO, sstrerror(SOCKERRNO)); in bind_unix_socket()
866 unix_socket, error, sstrerror(error)); in bind_unix_socket()
872 rc = curlx_win32_stat(unix_socket, &statbuf); in bind_unix_socket()
874 rc = lstat(unix_socket, &statbuf); in bind_unix_socket()
878 unix_socket, errno, strerror(errno)); in bind_unix_socket()
883 logmsg("Error binding socket, failed to stat %s", unix_socket); in bind_unix_socket()
888 rc = unlink(unix_socket); in bind_unix_socket()
891 unix_socket, errno, strerror(errno)); in bind_unix_socket()