A communication end-point for networking, for CPUs please use [processor-socket]

learn more… | top users | synonyms (1)

4
votes
1answer
2k views

How to determine the socket connection up time on Linux

I can verify that the connection is up: $ netstat -tn | grep "192.168.2.110" tcp 0 0 192.168.2.100:10444 192.168.2.110:52639 ESTABLISHED is there a way to check how long this tcp port ...
3
votes
1answer
725 views

SYN-ACK not received

On a standard TCP connection between server and client, I have this issue: the SYN-ACK is not received from the client, while it is sent from the server. I could see this on Wireshark from both server ...
2
votes
1answer
287 views

Simulating a network issue for a specific application

This is somehow a developer question, but as it is more related to operating systems and network connections, I will post it here and not on Stack Overflow. I'm trying to simulate a situation when a ...
1
vote
1answer
75 views

Emulate console by sending data on one UDP port, and receive text from another

I'm trying to establish a “console-like” connection with a National Instruments cRIO-FRC. It broadcasts its console output onto 255.255.255.255, UDP port 6666. I can listen to it with: socat ...
1
vote
1answer
176 views

systemd: starting service that depends on sockets does not work

I'm using systemd to start a WiFi and power monitor service script that scans for an SSID, brings up the network and an SSH tunnel and does a few other tasks. Much to my surpise it doesn't always ...
1
vote
1answer
104 views

Linux Kernel TCP socket functions

So I have been looking through the Linux Kernel v3.8.0-19-generic source code and I noticed that the proto struct, whose members are virtual functions for socket operations depending on the particular ...
1
vote
1answer
639 views

Can Connectify Dispatch be used for video streaming?

Here is my situation. We are specialized in video producing local sports for web-streaming. In most cases clients provide us with poor bandwidth, which is absolutely critical for us. There is a ...
1
vote
1answer
393 views

Restricted ports to non-admins on Windows 7

I work in a restrictive desktop/network environment and I am not an admin on my laptop. The ports available to me are limited. E.g. when I tried running Tomcat, the system refused to open a socket ...
1
vote
1answer
481 views

fcgiwrap listening to a unix socket file: how to change file permissions

I have a web server (nginx) and a CGI application (gitweb) that is ran with fcgiwrap to enable Fast CGI access to it. I want the Fast CGI protocol to take place over a unix socket file. To start the ...
1
vote
1answer
230 views

How does the Inetutils telnet utility determine if a connection is still alive?

I've started using sockets in programming with Java (I have experience with Python), and while testing a server that I'd written with the telnet command, I noticed that the utility responds ...
0
votes
1answer
40 views

websocket responses appear to be cut off

So my websocket server (socket.io) is sending JSON data to my clients who connect with their web browsers (e.g. Firefox). It works fine when I am sending short responses. However, when I send a ...
0
votes
1answer
15 views

MAMP : socket problems for external ressources

i have a problem with sockets on MAMP. i access to my localhost website with localhost:8888/sitename but external ressources like CSS are loaded with localhost/url without socket so request is ...
0
votes
1answer
173 views

Error getting server's IP address using Python on CentOS

I'm using Python's socket module to get the server's IP address server_ip = socket.gethostbyname(socket.getfqdn()) I get this error: socket.gaierror: [Errno -2] Name or service not known Weird ...
0
votes
1answer
498 views

cannot start mysql server bind socket denied

I have been trying to start mysql server but got this error: Can't start server : Bind on unix socket: Operation not permitted 2013-10-21 13:53:54 25098 [ERROR] Do you already have another mysqld ...
0
votes
1answer
547 views

How to explicitly free EADDRINUSE port for binding it again?

$ testOnDemandRTSPServer ... Play this stream using the URL "rtsp://192.168.90.2:8554 ... ^C $ testOnDemandRTSPServer Failed to create RTSP server: bind() error (port number: 8554): Address already in ...
0
votes
1answer
250 views

getting global IP address when using a vpn

How can I get my global IP address? I can see my global IP address via a site: www.whatismyipaddress.com It shows correctly about information of my computer including IP address. But if I use a VPN ...
0
votes
1answer
495 views

Not receiving responses sent from a different subnet when my machine is on DHCP

I am building a utility to communicate with some hardware that comes with a default IP address of 10.0.0.1 and subnet mask 255.255.255.0. The hardware replies to UDP messages on the same IP and port ...
0
votes
1answer
157 views

How to fix 0x800CCC0E Error Codes?

I recently started receiving the above-mentioned error which is apparently a Winsock error message it is preventing me from checking my e-mail with Gmail, although there is no problem with my e-mail ...
0
votes
1answer
594 views

Is it safe to create a link to a socket file in /tmp?

I'm a bit confused as to see that going from one Linux distribution to another, the package managers will sometimes configure processes to create the socket file either in /tmp or in ...
0
votes
1answer
93 views

Video player that can be controlled by Socket / TCP

Is there a Video Player that can be controlled with TCP? I think VLC supports this - but I can't find any easy to follow instructions on how to do this. I will be using this on a windows 7 machine, ...
0
votes
1answer
601 views

How to create tunnel to utilize for telnet connection

The scenario is as follows: Machine A is located behind client firewall. The machine runs telnetd. This is Linux machine with Python 2.5.4 installed. I do not know the IP addy of the router and ...
2
votes
0answers
7k views

socket.error: [Errno 10013] Port forbidden access permissions

When trying to use a Python script I get this error: socket.error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions I put the post on ...
1
vote
0answers
147 views

Re-stream (forward) UDP-Live-Video-Stream (using winsock) reduce video quality?

So, I used ffmpeg to stream the live webcam using UDP protocol to port 1111 : ffmpeg -f dshow -i video="Lenovo EasyCamera" -f mpegts udp://localhost:1111 When I played it directly by ffplay from ...
1
vote
0answers
365 views

Mysql socket error 2002 on Linux Mint - Access denied

My apache and xampp servers are running on port 2145 and 16443 respectively. sudo /opt/lampp/lampp restart Restarting XAMPP for Linux 1.8.2-5... XAMPP: Stopping Apache...ok. XAMPP: Stopping ...
1
vote
0answers
88 views

How to forward data to mysql server using socket module in python

How to forward data to mysql server using socket module in python, i have try to import socket and connect it to mysql server for test, but have no data received from it, my code like this def ...
1
vote
0answers
46 views

Communicate a button click event with sockets

Desire: I have a device or micro-controller i'll call it a mc that I need to communicate to when a web page button is clicked using sockets. MC1 <button id ='on1' name='mc1'>On</button> ...
1
vote
0answers
309 views

websocket behind a firewall

I have a computer with a strong CPU and a lot of memory (strongy) running Windows Server 2008 R2, that is blocked by a firewall from any access from the outside world. I have a computer with a weak ...
1
vote
0answers
336 views

SocketSniff equivalent for 64-bit applications

SocketSniff allows you to watch the Windows Sockets (WinSock) activity of the selected process. On x64 version of Windows, SocketSniff can only work with 32-bit programs. Is there any SocketSniff ...
0
votes
0answers
21 views

linux + what are the messages bad tty under /var/log/messages file

under /var/log/messages I see the following messages "bad tty" what the meaning of these messages? second is it caused because some application that called - owstd ? as we can see from the log? ...
0
votes
0answers
69 views

Where is “unix:abstract=/tmp/dbus-KtyPDgWNin” socket file saved?

I try the following: roroco@roroco ~/Dropbox/rbs/ro_cmds $ echo $DBUS_SESSION_BUS_ADDRESS unix:abstract=/tmp/dbus-KtyPDgWNin,guid=ca3ea893cf45d42ef60e74d0545d84f6 But when I want to list this ...
0
votes
0answers
26 views

Window Period Where Sent Packets Cause Socket Acting as Server to Malfunction

I am currently working on an embedded Linux server. My main application is a state-machine that is started during the init phase from the rc-scripts. The application spawns several worker threads. ...
0
votes
0answers
23 views

Maximum concurrent sessions to a web server

As far as I understand connecting to a web server, as a new session is established from a client to the web server, they form a socket with a receiving and sending port for each machine. As the ...
0
votes
0answers
906 views

error: [Errno 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted

I am creating system tests on a Windows7 machine using python, in which I need to open various socket connections to other machines. I also have several virtual IPs added to the local machine. These ...
0
votes
0answers
104 views

VirtualBox and Websockets

I am using Virtualbox with Linux host and Windows guest. When I try to use websites that makes use of websockets it's not working properly (not getting messages). I believe this can be fixed with ...
0
votes
0answers
83 views

Using Tap/Tun to intercept packets at IP level

I am working on a research project involving ARP poisoning. I would like to intercept packets on the IP level. If my machine receives a packet with an IP address not destined to it's own IP ...
0
votes
0answers
31 views

Reason for root with SOCK_RAW?

What is the reason for requiring root when a socket is created with SOCK_RAW? I think its kind of silly to run a program as root just to create a socket to use with VPN. Not to mention other sockets, ...
0
votes
0answers
129 views

AMQP connection closed when cells are enabled on Devstack

I have set up Devstack on 3 servers having IPs 10.10.1.51,10.10.1.53 and 10.10.1.54 which are running on Ubuntu 12.04 LTS I configured the devstack on server 53(IP 10.10.1.53) as the parent/api cell ...
0
votes
0answers
60 views

WSASocket Error

Recently a software on my computer encountered an error:WSASocket returned error 10022.After some research,I think I installed a proxy software that use an alternative WSASocket and overrides the ...
0
votes
0answers
76 views

Socket connection drops on JDK 1.7

We have 2 server, first (old one) with Windows 2003 server x86 and JDK 1.6 and second with Windows 2008 x64 and JDK 1.7, We run actually same application, has wrote in Java, which is trying to keep ...
0
votes
0answers
652 views

Default Gateway IPv6 but IP set on IPv4

I have a client who has a network setup. I have a couple of devices which work on the network using socket communication which I want integrated onto their network. There is a PC which is to be made ...
0
votes
0answers
301 views

nginx, node.js unix socket access denied

I don't understand why it refuses to connect. ls -l to /tmp srw-rw-rw- 1 root root 0 mars 4 06:26 php5-fpm.sock= srw-rw-rw- 1 root root 0 mars 4 13:30 sgtu3.kernel.sock= ...
0
votes
0answers
59 views

Security risks and prevents for sending files over sockets

I am attempting to do Raspberry Pi development and at the moment, I'm normally writing all of the Python code on my laptop and then would have to use a SSH client to send the files across. I've ...
0
votes
0answers
402 views

Accessing serial port via sockets

I'm on windows and I need to access my com5 serial port via sockets. I tried serproxy but it does not work. Is there a better tool to do it? This serial port com5 is a virtual serial port of my 3g ...
0
votes
0answers
557 views

Java - SocketException: Address family not supported by protocol family: connect

My Java connections seem to be failing a lot at the moment. When I run one piece of software with cmd open I get the above exception and sometimes class files don't load for web based Java programs. ...