Questions tagged [sockets]

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

Filter by
Sorted by
Tagged with
4 votes
1 answer
894 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 ...
user424014's user avatar
1 vote
0 answers
420 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? ...
maihabunash's user avatar
5 votes
2 answers
2k 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 ...
Jens's user avatar
  • 103
0 votes
3 answers
1k 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 ...
orange's user avatar
  • 900
4 votes
1 answer
2k 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 socket ...
zizhuo64062kw's user avatar
123 votes
2 answers
123k views

Can cURL send requests to sockets?

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 using cURL? Can it be done at all, or must there be a reverse ...
Hubro's user avatar
  • 5,786
0 votes
1 answer
383 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 ...
druckermanly's user avatar
1 vote
1 answer
913 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 ...
rinchik's user avatar
  • 73
1 vote
1 answer
933 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 UDP-...
Alexander's user avatar
  • 374
1 vote
1 answer
888 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 ...
Eamorr's user avatar
  • 227
3 votes
1 answer
3k 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 open:/dev/...
DarkLeafyGreen's user avatar
3 votes
1 answer
11k 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 unix:/var/...
ranieri's user avatar
  • 655
0 votes
1 answer
2k 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: ...
Waldir Leoncio's user avatar
0 votes
1 answer
1k 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 ...
Chris Cirefice's user avatar
0 votes
0 answers
7k 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 ...
Alex's user avatar
  • 674
1 vote
0 answers
3k 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 ...
David Tran's user avatar
4 votes
5 answers
26k 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 ...
WilliamKF's user avatar
  • 7,908
2 votes
0 answers
2k 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 ...
Martynas's user avatar
  • 121
0 votes
0 answers
766 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 ...
Conor Patrick's user avatar
0 votes
1 answer
300 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 ...
vfsoraki's user avatar
  • 2,037
1 vote
0 answers
1k 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 MySQL......
Lakshminarayanan Guptha's user avatar
0 votes
2 answers
73 views

TCP wireless communication

For the pass 2 months, i am trying to establish a wireless communication between 2 devices. Whatever solution i found, got failed due to large number of constraints we have. Seriously posting this ...
Kumar's user avatar
  • 123
0 votes
0 answers
11k 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 ...
aml221's user avatar
  • 1
1 vote
1 answer
1k 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 ...
carveone's user avatar
  • 327
0 votes
1 answer
772 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 ...
Python Novice's user avatar
228 votes
7 answers
304k 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. ...
jww's user avatar
  • 12.1k
1 vote
1 answer
1k 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 ...
Mr X's user avatar
  • 215
8 votes
1 answer
7k views

Given that tar ignored my 2 sockets, how do I backup and then restore my login folder?

I did a network backup of my login area in preparation for reformatting the volume in which it resides to make it bootable on my old Power Mac G5 running the very latest release of Leopard. Though ...
Billy McCloskey's user avatar
0 votes
0 answers
53 views

Connecting to a computer inside a network [duplicate]

I have a network in my College which is connected to the internet. How can I access a system inside this network from the internet (WAN)? I don't have access to the gateway of the system, so port ...
Sreevisakh's user avatar
0 votes
2 answers
4k 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 ...
Oriol's user avatar
  • 1,449
3 votes
1 answer
5k 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 ...
Fra H's user avatar
  • 131
0 votes
1 answer
2k views

How do I bind to a specific link local IPv6 address other than the default?

I'm not 100% sure I'm using the correct terminology in the title, so if someone knows better than I do please amend it. I'm trying to replicate a malicious script that I've seen in the wild for the ...
Wug's user avatar
  • 128
3 votes
2 answers
32k views

How to communicate between two VirtualBox VMs running on same host

I am running two VM instances of RHEL/CentOS on my VirtualBox instance running on host Windows 7. The problem is when I am executing VBoxManage list vms -l | more and then sunsequently VBoxManage ...
somnathchakrabarti's user avatar
3 votes
2 answers
26k views

How to stop listening at Port 135?

I am learning Socket Programming (TCP server) On Windows 7, but an error message that keeps coming is: port 135 is in use. I can see Port 135 listening through netstat. So , I want to stop port ...
Sika Shrestha's user avatar
0 votes
2 answers
87 views

How can 2 or more instances of the same program to communicate in local network? [closed]

I want to create program which will be in use for few computers connected in local network. Basically the program aim is to keep track of all tables in a bar ( lets say ), which are reserved. When ...
user1981437's user avatar
0 votes
1 answer
2k 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 ...
user205781's user avatar
1 vote
1 answer
1k views

CPU and motherboard compatibility

I used CPU-Z to identify my socket and it said 479 mPGA. Also got chipset information and used intel site to check out compatible processors. Turns out a lot of processors were compatible with the ...
L_static's user avatar
0 votes
0 answers
88 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 ...
Phorce's user avatar
  • 113
2 votes
1 answer
2k views

Dovecot.conf assistance since upgrade

I've been following a guide on this site: http://oskarhane.com/setup-your-own-mail-hosting-with-linux-postfix-dovecot-and-mysql/ To install postfix with dovecot and mysql on a Linux server. All ...
tadywankenobi's user avatar
1 vote
0 answers
197 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> &...
tyler's user avatar
  • 193
6 votes
1 answer
40k 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 ...
user1494941's user avatar
1 vote
1 answer
159 views

Why is it possible to continue working in a ssh session after a network disruption?

What enables the Secure Shell client and server to resume communication after one or several network interfaces in the communication path between them is shut down and re-appears some moments later? ...
Ярослав Рахматуллин's user avatar
3 votes
1 answer
4k views

How do I prevent Linux kernel from responding to incoming TCP packets?

For my application, I need to intercept certain TCP/IP packets and route them to a different device over a custom communications link (not Ethernet). I need all the TCP control packets and the full ...
Jon's user avatar
  • 153
2 votes
1 answer
3k views

How to Maintain an Inactive Tcp Connection?

If a TCP server establishes a TCP connection with a TCP client and the TCP client never sends any packet to the server. I roughly know firewalls near the TCP server may send an RST to it. Or there is ...
misteryes's user avatar
  • 2,975
1 vote
1 answer
629 views

TCP vs UDP Error-Checking

I've bounced upon two articles that describe in-depth on how TCP and UDP connections work. However there is some kind of inconsistency. Where one article tells me that UDP does no Error-Checking at ...
Dempsey FoxDie Van Assche's user avatar
4 votes
1 answer
11k 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? What ...
De coder's user avatar
0 votes
1 answer
3k 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 ...
Vi.'s user avatar
  • 17.2k
0 votes
1 answer
217 views

LGA 1155 Socket

I have an ASUS CM6850 Motherboard and SIW reports: Manufacturer ASUSTeK Computer INC. Model CM6850 Version Rev 1.xx Bridge North Bridge Intel Sandy Bridge Revision 09 South Bridge Intel H67 ...
Zmart's user avatar
  • 123
35 votes
6 answers
56k 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 connection ...
hidralisk's user avatar
  • 453
0 votes
1 answer
996 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 ...
user avatar