Skip to main content

Questions tagged [socket]

is a data communications endpoint for exchanging data between processes executing within the same host operating system.

0 votes
0 answers
20 views

I am new to socket programming & I have realized that most posix functions from libc require that you pass a buffer & a length. While I can understand this helps the functions to understand ...
Weezy's user avatar
  • 679
2 votes
1 answer
109 views

If you would open a listening socket on every possible TCP/UDP port (so thousands in total), without actually using them, what would be the cost in terms of performance? Is it merely an administrative ...
Maestro's user avatar
  • 233
2 votes
1 answer
390 views

Consider the topology where 2 QEMU VMs running Linux Ubuntu 16.04 kernel version 4.4.0-210 have both virtio-net interfaces with TAP backends connected to the same (host) Linux bridge and an SSH ...
CarloC's user avatar
  • 385
0 votes
1 answer
59 views

Is there a way to get struct msghdr or ancillary data of it for the last received packet, i.e. after the recv() call? My guess is that recvmsg() is the only way to populate msghdr, but probably there ...
Alex's user avatar
  • 1
2 votes
1 answer
214 views

I'd use socat to redirect the STDIN/STDOUT of the process executing docker run -it ubuntu bash command to a tcp socket in listening on port 32000. root@eve-ng:~# socat -d -d -d EXEC:'docker run -it ...
CarloC's user avatar
  • 385
1 vote
0 answers
171 views

I'd like to use socat to redirect the STDIN/STDOUT of the process executing docker attach <container-id> to a listening TCP socket on my Linux system. root@eve-ng:/opt/unetlab# tty /dev/pts/2 ...
CarloC's user avatar
  • 385
0 votes
0 answers
54 views

I'm building a simple shell server using raw Python sockets (not using telnetlib). The client connects using PuTTY with the Telnet connection type. The server displays a basic prompt like: [user@...
just.callme.client's user avatar
0 votes
1 answer
96 views

I'm currently testing the bluez tools like l2ping & l2test, So my intention was to interface between two devices through l2cap layer. I have cloned the bluez repository on two raspberry pi devices,...
Sandy's user avatar
  • 1
0 votes
0 answers
103 views

I am trying to understand why one of my system has /dev/log as a socket and other has /dev/log as a symbolic link. [ec2-user@ip-171-31-12-17 log]$ file /dev/log /dev/log: symbolic link to /run/systemd/...
Boogeyman's user avatar
0 votes
1 answer
130 views

Running mpd without any bind_to_address in the config starts a working UNIX socket at /run/user/1000/mpd/socket but also starts a network socket at 0.0.0.0:6600 / [::]:6600. I would like to have only ...
niklassc's user avatar
  • 113
7 votes
2 answers
1k views

If you've ever tried writing tools that depend upon ICMP echo requests, you've inevitably run into the same problem as everyone else: you can't do it unless your tool is running as root. When you try ...
Sniggerfardimungus's user avatar
1 vote
1 answer
180 views

I am trying to simulate a radio with a PTT button. Connected users should be able to live voice chat in the group, one at a time, while holding a button. I have a Ubuntu 22.04 server running, with ...
George Stefan Kudor-Ghitescu's user avatar
0 votes
0 answers
163 views

Does any one have a complete configuration of using Dovecot to handle OAuth2 tokens to allow Postfix to send mail to gmail? Most use cases found are either too old or not complete. I have done the ...
Dean Allard's user avatar
1 vote
2 answers
1k views

I stumbled over the following issue, while debugging ssh connections. I have a Ubuntu 24.04 with openssh-server installed. The corresponding systemd-service is running (now named ssh.service & ssh....
harry's user avatar
  • 11
10 votes
5 answers
1k views

I need a tool that tells me if a connection to a host is open or not -- no data to send or receive, just see if the connection is successful. Today I use telnet. $ telnet myhost myport Trying 192.168....
chris01's user avatar
  • 1,039

15 30 50 per page
1
2 3 4 5
29