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

learn more… | top users | synonyms (1)

4
votes
1answer
3k 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
90 views

What happens when I terminate a process and the socket send buffer is not empty?

In Windows (and probably in other operating systems), if a process has a TCP connection with another process on another machine, and then I terminate the process, an RST packet will be sent to the ...
3
votes
1answer
926 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
359 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
121 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
203 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
129 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
687 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
443 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
531 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
249 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
53 views

I added a simple socket perl server script under Cygwin Xinetd to echo client input but it reads blank instead

I installed a x32 version 1.7.33 of Cygwin on my x64 Windows7 machine. I added a new service under /etc/xinetd.d/ccapi. $ cat ccapi-stream service ccapi { id = ccapi-stream disable = ...
0
votes
1answer
66 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
17 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
221 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
632 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
643 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
275 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
563 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
160 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
97 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
611 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
8k 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
12 views

netstat -o timer value “probe”

A bit of background on the scenario. I have a distributed application running on RH6.5 that uses JMS (OpenMQ 4.5.2) to send messages between hosts. One host (Host A) receives information from network ...
1
vote
0answers
51 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? ...
1
vote
0answers
224 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
427 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
121 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
51 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
332 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
373 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
28 views

How do I troubleshoot if I see the incoming packet in tcpdump, but not at the socket?

For example, I see that the incoming packet in tcpdump, but not in strace for the program that is listening the appopriate socket. How do I trace the "fate" of this incoming packet on Linux? I ...
0
votes
0answers
27 views

How to connect two debian VMs using vmware workstation so that one acts as a web server and the other as web client

I want to connect two virtual machines running using VMWare workstations - Debian Linux and I have setup private DNS server on one VM named "Server" and other VM is named "client". I am trying to ...
0
votes
0answers
115 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
1k 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
168 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
108 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
46 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
201 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
1k 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
64 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
426 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
594 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. ...