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 ...
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 ...
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 = ...
39
votes
9answers
122k views

Manually closing a port from commandline

I want to close an open port which is in listening mode between my client and server application. Is there any manual command line option in Linux to close a port ?? NOTE: I came to know that "only ...
0
votes
1answer
31 views

List all open sockets in /dev/tcp/localhost/

Is it possible to list all open sockets in /dev/tcp/localhost/ on a Linux machine? I want to list all sockets where the following command would return 0: timeout 2 bash -c "cat < /dev/null > ...
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 ...
4
votes
3answers
4k views

sshfs mounting linux directory from mac stopped working

Until this morning, I'd been using sshfs quite nicely to mount a directory from a linux machine in my office. Today, it stopped. Here's my sshfs command: sshfs -osshfs_sync,volname=linux-builder3 ...
8
votes
3answers
5k views

Allow non-root process to bind to port 80 and 443?

Is it possible to tune a kernel parameter to allow a userland program to bind to port 80 and 443? The reason I ask is I think its foolish to allow a privileged process to open a socket and listen. ...
0
votes
0answers
6 views

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

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
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 ...
1
vote
1answer
1k views

Why can't I delete a file marked as a socket from my linux ext3 filesystem?

I'm running Ubuntu 9.04 with a ext3 filesystem. A while ago I was hacking on the flock 2.0 source and I have just tried to delete the source directory, but a single file could not be deleted when ...
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 ...
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? ...
5
votes
2answers
209 views

Linux localhost sockets painfully slower than on Mac

This question is based on this thread over at OpenOffice. I'm using Python and the Office UNO bridge to analyze documents. For the most part I run on my Mac and spin up an office instance to listen ...
-1
votes
3answers
82 views

What happens when 2 hosts simultaneous establish a connection in a 3-way handshake

Say two hosts, A and B, both attempt to start a connection with each other, but the SYN from A gets to B before B's SYN arrives at A. My answer is that A would sent SYN ACK and would ignore the SYN ...
0
votes
4answers
815 views

How to enable ports on a wireless network for java socket programming

Background: I have written a java server-client program. The server accepts incoming connections on port 2175 and writes responses on 2176 which the client listens on for the response. I am sending ...
1
vote
1answer
3k views

What do Intel's socket package specifications mean in detail?

What is the difference between FCPGA988 PGA988 rPGA rPGA988B BGA1224 FCBGA1224 Do some mean that the BGA is soldered to the board and cannot be removed? BGA is soldered versions only, right? ...
3
votes
2answers
10k views

How can I show only 127.0.0.1 traffic using Wireshark?

Every time I try to filter to just show a specific IP address, I get an error indicating that it is "not an interface or a field." I have no idea what that means. Furthermore, I don’t really see any ...
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
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 ...
5
votes
1answer
1k views

Tell GNU screen where to save the sessions?

My GNU screen stores its sessions in the /tmp directory. That means that after a reboot, all sessions are lost: $ screen -list No Sockets found in /tmp/uscreens/S-dehmann. How can I tell it to ...
2
votes
1answer
846 views

Can cURL send requests to sockets?

I can find nothing about this on Google or the cURL man pages. I have a HTTP server running at /var/run/my-server.sock, and I want to test it by sending a simple request using cURL. Can this be done ...
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. ...
2
votes
2answers
2k views

Nginx can't connect to uWSGI socket with correct permissions

I'm trying to connect Nginx to uWSGI so I can run an application written in Ruby (where I am not able to use passenger). This is my virtual host configuration: server { listen ...
1
vote
1answer
357 views

Launching Google Chrome 38 in background using node and socket-io

I need to launch google chrome in the background using service that will be using AD user. Windows service is running node.js and i'm launching Chrome by request via Socket-io. Chrome should open ...
1
vote
0answers
25 views

Access remotely two computers via IPv6 [closed]

I have a little problem on my house. Recently, I installed Teredo on two computers using sudo apt-get install miredo. Now I can access my two computer via IPv6 using Sockets in C. My goal is: I am a ...
0
votes
1answer
55 views

How are programs in windows (7) allowed to open sockets / connect to the internet without UAC?

I tried searching online but I feel I'm not searching with the correct keywords. I'm teaching myself network programming just to understand how everything fits together better. I've made a simple ...
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 ...
5
votes
1answer
12k views

Force socket close

Is it possible to close an established socket connection in Windows "manually" (e.g. using a command prompt tool)? I have several open sockets connected to a listening server, I can see them using ...
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
901 views

CPU Upgrade Options - rPGA Socket 989

I have a Samsung R730 laptop with HM55 chipset and the above socket number. The current processor is an Intel Pentium P6100. The processor is very limited with regards to visualization etc and I ...
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 ...
0
votes
1answer
194 views

Does an open TCP socket connection consume data when not used?

I have a TCP socket connection established between my server and a modem which has a active GSM module and sim card installed. I create this wirless 3G connection via socat: /usr/bin/socat ...
17
votes
3answers
11k views

Can I monitor a local unix domain socket like tcpdump?

I'd like to monitor responses on a unix socket without disturbing the original connections and pipe them to a script for processing. I know how to do this with tcpdump for tcp connections but I ...
0
votes
1answer
138 views

What is a U2E1 socket?

I have a 2011 MacBook Air running Ubuntu 14.04 and would like to find out the CPU socket through software methods. To do so, I'm running sudo dmidecode -t 4, which yields, among other things, this: ...
12
votes
1answer
838 views

Determining what process has bound a port (without listening) on Windows

If I want to find out what process is listening on what socket, I can use netstat/TCPview and will immediately see it. However, it is possible to bind to an address without listening. If this is done, ...
0
votes
1answer
60 views

Does private browsing prevent socket events?

I usually do my work in Google Chrome (v36.0.1985.143), private browsing enabled. I use Firefox to browse Stack Exchange, in normal mode so that all my logins are persisted. Sometimes I accidentally ...
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 ...
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 ...
0
votes
3answers
2k views

How to determine why port 443 is already in use?

I'm running Apache 2.4.10 on a Windows 7 machine and am trying to add SSL connections. Port 80 connections work fine, and I'm trying to add port 443. When the httpd.conf gets Listen 443 added it ...
0
votes
2answers
891 views

Can I create a socket file on Mac?

I am missing /tmp/mysql.sock. It has signature srwxrwxrwx. Is it possible to create this file by hand?
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
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
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
1answer
75 views

Test connection to a port without actually connecting to it

I have a python socket server (single-threaded, accepts only one connection) running somewhere. I connect to that port and do my things. How can I detect whether port is open or closed without ...
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 ...
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 ...
0
votes
2answers
147 views

What's a CD socket in a motherboard?

In my motherboard I have a socket which says "CD". It looks like a 4 pin fan socket, more or less. Is it a fan socket, or what is it used for? I have tried googleing it but I only find results ...