Questions tagged [socket]

A socket is an abstract network construct with a sending and receiving side. In most modern operating systems (OS) there are device representations, and programming tools to address sockets.

564 questions
2
votes
1 answer

UDP Socket bound to one IP?

Say I have two hosts - Using fictitious IPs for this example, say host A has IP 1.1.1.1. host B has two IPs - 2.2.2.2 and 2.2.2.3. If host B is listening on port 8888, and sees a packet come in from 1.1.1.1, produces a response and sends it out on…
regulatre
  • 276
  • 3
  • 11
2
votes
2 answers

Lighttpd with FastCGI won't create /tmp/fcgi.sock on startup?

I'm running lighttpd-1.4.19 on a debian 5 box and try to run web2py with fastcgi. The problem with that is, that lighttpd does not create the socket file /tmp/fcgi.sock. If I'm creating the file by myself touch /tmp/fcgi.sock lighttpd will start…
Marlon
  • 21
  • 3
2
votes
2 answers

Linux: How to display all sockets opened for a particular interface?

How can I display all sockets opened for a particular interface?
Andrei
2
votes
1 answer

Poor TCP loopback throughput on Windows

I measured the throughput of a locally bound TCP socket connection on my computer (Intel Q9550, 64 GB RAM, Windows XP 64 bit) using iperf. I got dissatisfying results (around 1.6 Gbit/s) each time, no matter how I tweaked the TCP settings (buffer…
Yodan Tauber
  • 173
  • 2
  • 6
2
votes
2 answers

ssl offloader for websockets

im looking for a proxy which supports a massive load (like nginx or haproxy) and can handle websockets and ssl. i know only nginx which does not support websockets and haproxy which doesnt support ssl offloading. thanks
michu
  • 21
  • 1
2
votes
2 answers

OpenLDAP IP socket backend?

I see that OpenLDAP has a backend for Unix sockets, but can it be used with IP sockets? or does an IP-socket backend exists?
Maurice Perry
  • 315
  • 2
  • 13
2
votes
4 answers

Cheap webhosts that come with smartfoxserver for flash

My current web host doesn't allow socket servers. Can anyone tell me some cheap webhost servers that comes with smartfox server for flash? Thanks.
Cal S
  • 81
  • 8
2
votes
1 answer

How do I create a python 3 service that uses socket with systemd?

I am trying to create a service with systemd, where I use python3 to create a simple socket and leave it as a daemon, but I have made several attempts but in both cases without any success. For today systemd has beaten me, but tomorrow is another…
2
votes
2 answers

Fail2ban socket permissions reset on reboot

I have some specific group/permissions set for my fail2ban.sock file to make Zabbix able to monitor Fail2ban as described here https://github.com/hermanekt/zabbix-fail2ban-discovery- I added the following lines to systemd service configuration to…
ihorc
  • 43
  • 6
2
votes
1 answer

Socat - is it possible?

Is there any way to listen and execute a command ( for every connection ) while port forwarding with socat? A non-working example to make it more clear: socat TCP-LISTEN:8080,reuseaddr, "exec:ls" fork tcp:localhost:80
hyogy
  • 23
  • 1
  • 5
2
votes
1 answer

Start systemd socket on VPN connection automatically after boot

One of my servers is setup so that it will automatically connect to a VPN after booting up using a systemd service. Now I want to host a systemd socket on this VPN connection. And the socket should also be available after booting up and after the…
rollstuhlfahrer
  • 288
  • 1
  • 6
2
votes
1 answer

How to share unix domain socket between containers without named volume?

I have two containers A and B which needs to talk via unix domain socket created by A in /var/run/notif.sock. I can't use named volume as sharing /var/run between containers is risky as it contains container's runtime data. Bind mount requires the…
Ankur Sao
  • 21
  • 1
  • 2
2
votes
1 answer

Passing 8192 sockets via systemd socket activation - fails with E2BIG

I am trying to have systemd start up a daemon and pass it 8,192 listening sockets. I have a .service and .socket file that work reliably with a more "normal" number of listening sockets, like this: # a-daemon.socket [Unit] Description=A Daemon…
zwol
  • 1,355
  • 2
  • 12
  • 22
2
votes
2 answers

How do I increase the buffer size for domain sockets in OS X 10.6

In Linux I have no problem dumping tons of data into a domain socket, but the same code on OS X 10.6.2 blows up after about 65 records. The socket reader code looks like #!/usr/bin/perl use strict; use warnings; use IO::Socket; unlink "foo"; my…
Chas. Owens
  • 2,053
  • 2
  • 21
  • 24
2
votes
3 answers

CUPS printing via socket very slow

I don't find anything suitable on this topic: we have a Solaris server, running CSW CUPS and several network printers. Printing using LPD is fast, but when we try socket or SMB, it is painfully slow (<1 sec vs. 30 seconds for a small job). We…
slovon
  • 957
  • 5
  • 12