Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
70 views

I try to connect to the clamd service (antivirus) on an Ubuntu Linux System. clamd on Ubuntu Linux can be contacted using a unix domain socket, which is by default registered under the path /var/run/...
Matthias Bläsing's user avatar
-1 votes
1 answer
71 views

I'm building a high velocity distributed database in Rust, using io_uring, eBPF and the NVMe API, which means I cannot use 99% of the existing libraries/frameworks out there, but instead I need to ...
Mascarpone's user avatar
  • 2,578
2 votes
1 answer
142 views

The application written in golang and is ran within Debian bookworm based docker container fails to listen for the unix socket with the error message listen unix [socket-path]: bind: invalid argument ...
404's user avatar
  • 533
1 vote
1 answer
74 views

i'm writing a sort of tool to analyse traffic that goes to nginx on my server by logging them into a database, then perform certain actions on them. i've decided the best way to do this would be to ...
tauon's user avatar
  • 63
-1 votes
1 answer
66 views

I have a logging application and shared library, that write to this application via unix socket. I want to implement exclusive access of writing to logging application only for the dynamic library. I ...
dodik's user avatar
  • 11
0 votes
0 answers
47 views

I am writing a Python 3-based server/client program using a Unix-domain socket. I am trying to build the server such that only a single client can connect to the server and subsequent connect() calls ...
Anirban's user avatar
  • 590
0 votes
0 answers
41 views

Having some application that is ran within a container. Besides the rest it starts listening a unix socket within a pre mounted volume directory. Previously file is pre cleaned up if exists any. The ...
404's user avatar
  • 533
4 votes
1 answer
72 views

I'm writing some Rust code where I have a UnixStream socket that I want to receive ancillary messages as well as normal messages. For the normal messages, it would be useful to use BufReader's ...
irontigran's user avatar
3 votes
1 answer
105 views

With the following, the client has a small chance of receiving "Broken pipe" when it attempts to splice, despite the socket being, as far as I can see, open. (The "small chance" ...
Runxi Yu's user avatar
  • 412
2 votes
1 answer
85 views

As part of a larger program, I would like to copy everything from standard input to a UNIX domain socket. I figured that splice(2) would likely be appropriate but I'm having trouble using it. Minimal ...
Runxi Yu's user avatar
  • 412
0 votes
0 answers
126 views

I have a rust program that starts up a server process and listens on a specific unix domain socket for incoming connections. Incoming connections connect to this domain socket, send a single request ...
Toms Jansons's user avatar
1 vote
1 answer
131 views

When closing a UNIX socket on one side I would expect the other side to be notified of that by a read call, that returns 0. However when using SOCK_DGRAM, the read-call blocks indefinitely. Even when ...
Caulder's user avatar
  • 459
0 votes
0 answers
77 views

I am learning raw socket programming in linux Ubuntu but i have a problem. My udp packet is not shown in Wireshark. I suspect that its being dropped by my router because of a mistake I made. here is ...
ling978089's user avatar
2 votes
2 answers
556 views

A process' file descriptors can be seen in /proc/pid/fd dir, where some of them can be opened and read or written. For example, if I pipe something to a process on stdin, it will show up as /proc/pid/...
msharov's user avatar
  • 21
0 votes
1 answer
153 views

Is it possible to build a Nuxt 3 App so that it will use a unix socket instead of serving on a local tcp port? I am intending to make an app with pywebview and nuxt3. I want the pywebview to display ...
Safwan Amin's user avatar
1 vote
0 answers
177 views

I can't find a way to bind ktor server to a Unix socket, whatever engine I use. I've found the socket API, but I cant find a way to have ktor handle requests coming from it as it would with plain HTTP ...
OwOchlé's user avatar
1 vote
2 answers
397 views

I am transferring a site that was built on Windows XAMPP to a server running Ubuntu 24.04 (Noble Numbat), Apache 2.4.62, and PHP 7.4.33. Everything is working fine, except PHP files containing spaces ...
Colt's user avatar
  • 11
0 votes
1 answer
118 views

In my application I'm making use of unix domain sockets to perform local communication and I've used the uds crate for that. I need to shutdown the sockets(both listeners and clients, selectively), ...
Harry's user avatar
  • 4,154
0 votes
0 answers
42 views

While the Socket itself is initialized, Binding Socket refused to bind returning -1 (socket operation on non-socket). Socket code: #include "Socket.hpp" Network::Socket::Socket(int domain, ...
Evgenii Isaenko's user avatar
0 votes
1 answer
679 views

I'm trying to implement a script within the docker-compose of greenbone-community-edition. This script uses the socket located in /run/gvmd/gvmd.sock to establish a connection and execute Python ...
TeemSy's user avatar
  • 28
0 votes
2 answers
65 views

The Files which I've created I've created WorkerThread class extended QThread as follow: // https://stackoverflow.com/a/14546167/11073131 #ifndef THREAD_H #define THREAD_H #include <QThread> #...
Ueda Takeyuki's user avatar
0 votes
1 answer
488 views

I have written a sample code wherein I'm trying to make use of unix domain sockets to communicate between 2 threads, but not able to make that happen. After client connecting to the server, client not ...
Harry's user avatar
  • 4,154
0 votes
1 answer
137 views

I need to connect two processes with unix sockets: a producer that streams a video, a consumer that should read the video and process it. As the video stream comes from a live stream, I initially ...
IvanProsperi94's user avatar
1 vote
1 answer
97 views

I have 2 CPUs - cpu1 and cpu2. Process A (non-real-time) runs on cpu1, Process B (real-time) runs on cpu2. I want to isolate cpu2 from the Linux scheduler by using isolcpus or tuned-profiles-realtime. ...
uohzxela's user avatar
  • 661
1 vote
0 answers
150 views

i try to build website in ubuntu vps using nginx, php7.4, and PostgreSQL. my goal is using unix socket to communicate through ajax-phpfpm-postgresql to execute query sql in PHP program. i have change ...
astaga's user avatar
  • 91
1 vote
1 answer
214 views

In two of our many PHP pods (we're running under Kubernetes) we have a problem with a Unix socket leak. Our PHP CLI process seems to be opening and not closing many unix sockets, until in an unrelated ...
Vilx-'s user avatar
  • 107k
0 votes
0 answers
119 views

I am writing a small application in Rust that runs a loop every 250ms. I want the application to check a UnixDatagram every time the loop runs to see if there are new messages passed into the Datagram....
Chris Fernandez's user avatar
0 votes
0 answers
127 views

In the hints parameter of getaddrinfo(), there is a pointer to the addrinfo struct, but what value should I initialize in the addrinfo object? In the addrinfo struct, there are several values that can ...
onxy tzy's user avatar
2 votes
2 answers
2k views

I seem to be hitting some sort of permissions issue while trying to use unix sockets between my host and a Docker container. Within a running container, I have a server listening to a unix socket on a ...
Brennan Lamey's user avatar
0 votes
1 answer
1k views

What I have: A Java11 Spring Boot application (embedded tomcat 9) with Hikari Pool (Grails 4) in a Docker Container based on eclipse-temurin:11-jre. What I need: My application needs a connection to a ...
Leon Heyna's user avatar
-1 votes
1 answer
426 views

I'm working on a personal project to try to better understand inter-process communications on Unix. I have two binaries i compiled in C and I am attempting to pass data from one process to another ...
BigBurger's user avatar
0 votes
1 answer
137 views

I am trying to write a chat program using UNIX Sockets. It is supposed to work similar to nc -U '/tmp/...' -l. Currently I am only testing a unidirectional approach, but can't seem to get it working. ...
tech_scholar's user avatar
0 votes
0 answers
215 views

I'm trying to use mpv's API. I have followed this: https://mpv.io/manual/master/#json-ipc I started mpv with: mpv /path/to/file.mkv --input-ipc-server=/tmp/mpvsocket. I ran echo '{ "command"...
user20986345's user avatar
2 votes
1 answer
438 views

I'm trying to setup mysql within a docker container but I want to connect to it via a unix socket when I try to connect I get this error: (web-YtJryoMm-py3.8) redacted@myhost testsocket % mysql -u ...
Ryan Nygard's user avatar
3 votes
1 answer
898 views

The man page for select() states: WARNING: select() can monitor only file descriptors numbers that are less than FD_SETSIZE (1024)—an unreasonably low limit for many modern applications. This is ...
Troy Hamilton's user avatar
0 votes
0 answers
51 views

I am building the socket part of a project I am working on and I keep getting bind failed: address already in use. I tried to use SO_REUSEADDR too but it doesn't seem to solve it. How do I fix this? ...
DravStart's user avatar
2 votes
1 answer
444 views

I am facing a very strange issue, I have a simple UNIX STREAM socket server/client code running on Linux. client occasionally sends a message to server (I tested with sending only once also), however ...
RootPhoenix's user avatar
  • 1,767
1 vote
0 answers
148 views

I am using command: sudo strace --trace=sendto,recvfrom,read,write,ipc -yy -s 10000 -fp $pid 2>&1 where pid is the the process id I want to trace. When i get outputs, there are some unfinished ...
Sandeep Acharya's user avatar
0 votes
0 answers
377 views

I have deployed a simple Django app locally on my ubuntu machine using systemd. I have created two files gunicorn.socket and gunicorn.service according to many tutorials on the web. When I change my ...
Nadirspam's user avatar
  • 309
0 votes
1 answer
804 views

I am wonna set my own site in Tor network with .onion domain on Ubuntu 22.04.2 LTS. I am install tor, nginx and configure nginx and /etc/tor/torrc file to work with unix socket. /etc/tor/torrc config ...
Nikita Iakubenko's user avatar
3 votes
1 answer
1k views

I have an open-source service application written in c#, running on .net 7, on Linux, which exposes an HTTP service, using Kestrel, to provide some monitoring endpoints for application state and ...
dodexahedron's user avatar
  • 4,683
1 vote
0 answers
176 views

I am working on an archaically old code base. Within this code base, we create unix domain sockets, and we pass those to child processes as stdin: int listenFD = socket(AF_UNIX, SOCK_STREAM, 0); ... ...
g.d.d.c's user avatar
  • 48.3k
0 votes
0 answers
208 views

I am trying to figure out how to use a SocketCAN connection in Java. As stated in the SocketCAN doc, SocketCAN is designed very similar to TCP and UDP Sockets. It also provides a network interface for ...
Crazy Doc's user avatar
  • 349
1 vote
0 answers
250 views

I have server that can be communicate using REST api over UNIX domain socket. I want to have java application that can do POST operation on UNIX domain socket using JAVA 16 or above. But, I have no ...
Prashanna Rai's user avatar
1 vote
1 answer
1k views

I have a python application where I need to be able to dynamically add an NTP server to Chrony. From the command line I can do: sudo chronyc add server time.google.com My understanding is that ...
proximous's user avatar
  • 677
0 votes
0 answers
157 views

I am trying to send a file descriptor using an abstract UNIX domain socket but the client side just hangs and never get the descriptor. I am not sure why. For C code I am trying to use syscalls ...
Mitar's user avatar
  • 7,270
1 vote
0 answers
86 views

I have the following code to connect to a JAXRS endpoint using jersey and the jetty HTTP client as follows: ClientConfig config = new ClientConfig(); config.connectorProvider(new ...
Graham Leggett's user avatar
1 vote
0 answers
435 views

I'm trying to configure Springboot(Tomcat) to start using unix-socket in Windows, but I get an error "Address already in use: bind". I have my own connector with port 0, but in debug mode it ...
Devour's user avatar
  • 335
0 votes
1 answer
977 views

I have a server running Apache 2.4 and php 8.1 with FPM for several virtual domains, and just now I noticed one of these domains is missing it's fpm socket in /var/php-fpm... Been googling how to ...
Cexoxa's user avatar
  • 1
0 votes
1 answer
130 views

The following code should call the signal handler once the pipes are closed by the parent. The signal handler will be sporned by the child, cause it waits one second. This wait cycle should be ...
Cutton Eye's user avatar
  • 3,651

1
2 3 4 5
15