Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sockets]

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

0
votes
0answers
16 views

How to have a value different from 0 in netstat's Send-Q column for a socket in the LISTEN state?

I am currently trying to solve a Capture The Flag challenge that involves trying to escalate privileges by taking advantage of an exploit in a bash script. The script first does the following to get ...
-1
votes
0answers
14 views

Steel Series Engine Not Working

2019-01-19T06:34:58.403Z: Encountered error during sockets.retryConnection (ws://default@127.0.0.1:50813/sock) 2019-01-19T06:36:51.929Z: Encountered error during sockets.retryConnection (ws://...
-1
votes
0answers
5 views

Bluetooth communication with raspberrypi [on hold]

I'm developing a Bluetooth application in c using bluez and I want to send and receive file anyone have some code example that I can use? I have tried socket programming (Bluetooth) in various ways . ...
0
votes
0answers
8 views

Get Information about a socket programmatically [migrated]

When looking at a TCP Socket with /proc/$PID/fd/$FD using readlink I can see it's a socket and a socket number (ID?), e.g.: 67 -> socket:[13005] but how am I able to programmatically get actual ...
0
votes
0answers
19 views

How to extract the data from a UDP packet which comes through a COM port

The hardware setup im having is a wireless device which is connected to a raspberry pi through a COM port and the pi receives ipv6 udp packets through the COM port. ( I can capture and observe ...
0
votes
0answers
51 views

Could not bind socket : Permission denied

I would like to use port 443 in a PHP script, but seems like i don't have privilages to do so. That's the php error that occurs: Could not bind socket : [13] Permission denied that's the simple php ...
-2
votes
1answer
74 views

LGA1150 CPU on LGA1155 MoBo?

My motherboard fried and I am looking for an identical replacement. Only, the motherboard is an Acer H81H3-AM V1.0 with socket 1155 according to specs, and CPU is an i5-4460, socket LGA1150. Is this ...
0
votes
1answer
31 views

How to detect if connection to server drops out randomly

I've installed an application that connects inside my local network to another machine's database. If I run this software every 30min-2hours I get a socket error in the software. I want to ...
0
votes
0answers
9 views

Is using a dynamic port a good solution to software-test servers?

For testing (automated, TDD, ATDD/BDD, also running on a CI/CD pipeline), I want to run a server on a dynamic port. The test shall start the server, perform tests, stop the server. This shall be ...
1
vote
2answers
98 views

Is i7-940XM compatible with rPGA989 socket?

Is the Intel i7-940XM compatible with a rPGA989 socket? My laptop is a ASUS K52JT with a Pentium P6200 processor. Can I replace it with i7-940XM? If I can, at which frequencies can I run it? The ...
0
votes
1answer
22 views

Checking Nagle Algorithm on opened socket

One of the platforms we use opens TCP sockets (No source code available). I need to check if the Nagle Algorithm is disabled or enabled on those sockets. The operating system used can be Windows or ...
0
votes
0answers
73 views

Why is my TCP connection attempt via PHP acting weird?

I'm not sure if this is better here or on SO but since the issue isn't in the programming I figured it applies here (or on U&L or on serverfault, but I guess/hope I'm fine on here). I want to ...
0
votes
0answers
123 views

Tunnel a ssh tunnel through a unix socket and connect to it using ssh

Ok, the title might be a bit confusing so here's what I'm trying to achieve. I have multiple machines of types A that would connect to a server B. All machines of type A would have some kind of GUID. ...
0
votes
1answer
293 views

Disable UDP Checksum Validation on Receive

I have a source that is sending udp packets with invalid checksum headers, and I don't have control over the source. I can see on wireshark that these packets are making it to the destination host, ...
1
vote
0answers
23 views

Need help figuring out a random connection timeout issue on a server

I discovered this issue trying to loadtest a custom node.js websocket server, where some sockets are failing to connect (they hit the connection timeout). It does not appear to be related to the ...
0
votes
0answers
38 views

How is it possible to “sed” through a port?

For example: The telnet daemon server is echoing "Hello there user." For the sake of the example, say the version of the daemon cannot be changed at the moment and we have to make a better greeting. ...
0
votes
1answer
45 views

Fedora 27 LXDE closing lid doesn't lock the screen (selinux acpid xscreensaver-command)

I've installed acpid and setup an event for lid close which works in debug mode, however I cannot get it to work when acpid is started by systemd. I used the suggestions here to configure acpid Linux ...
1
vote
0answers
61 views

How to debug program creating RAW socket?

For example I have this program: int main() { int sockfd = ::socket(AF_INET, SOCK_RAW, IPPROTO_ICMP); if ( sockfd == -1 ) printf("Error\n"); else printf("Success\n"); return 0; } ...
3
votes
1answer
492 views

Only one usage of each socket is normally permitted

Trying to listen on an already-used port (for example, running two instances of the same socket server) on Windows gives: [WinError 10048] Only one usage of each socket address (protocol/network ...
0
votes
0answers
56 views

Matlab socket data

I met a challenge when using socket connection in MATLAB. I use it to achieve sequential data from a device. At each time, the device sent a vector as a string (with different length) to MATLAB. I ...
2
votes
0answers
325 views

Why is an SSH socks5 proxy performing better than a normal socks5 proxy?

I've been trying to setup a proxy tunnel for gaming for the past month and have encountered (To me) a very strange issue. Currently I'm using a socksifier to redirect/edit the connect() command on a ...
0
votes
0answers
19 views

How can i force a socket timeout in privoxy even on on-going connection?

I would like to drop the on-going connection after a certain time. I checked the privoxy configuration options here and found 'socket-timeout'. 7.6.8. socket-timeout Specifies: Number of ...
0
votes
0answers
48 views

UDP server socket does not get packets but Wireshark does

I have a server on pc with address 192.168.1.3, and a client socket bound with address in different subnet 192.68.0.1. The client and the server are connected via a switch. From Wireshark, I could ...
0
votes
0answers
92 views

Selenium unable to communicate with chromedriver.com

I'm getting the following error: (testhost.x86.exe, PID 28784, Thread 13) TestTypes{13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b} could not be loaded because the TIP could not be instantiated for the ...
0
votes
1answer
146 views

sudo netstat -antp not showing PID

i am testing stuff with sockets and i encountered that strange case : i coded i very simple tcp server in c, i made it block after accept(), just to see what happen when accepting multiple connection ...
0
votes
1answer
418 views

How to make a port listener code in the server that hosts my website?

I have my website hosted in godaddy, and I want to test one of the Embedded Application's TCP data transfer using the IP and port number of my website, for this can I use any php script (something ...
4
votes
5answers
5k views

What is the difference and relationship between a process id and a port number?

Process is a program in execution. E.g. Firefox. I don't understand the relationship and the differences between the terms "process" and "ports". When I run netstat -no -p -TCP on cmd I can see ...
0
votes
1answer
301 views

Prioritize UDP over FTP, SCP, etc. in Linux

I have a setup wherein one "master" Linux system communicates with 3 "slave" systems also running Linux on a dedicated Ethernet interface(just the master & the 3 slaves). The slaves send data to ...
0
votes
1answer
207 views

Running Process Monitor causes application to work

This is a longshot, but perhaps someone with knowledge of the internal workings of Sysinternal's Process Monitor may have an idea. Recently we've had a very murky problem at work. We have a software (...
-1
votes
1answer
301 views

Is it possible to establish socket communication between Windows 7 and Linux machine over LAN?

I have connected a Linux machine and a Windows machine via LAN cable. Both machines are not connected to any network. Is it possible to establish a socket communication between these machine? If yes, ...
0
votes
0answers
31 views

Socket communication response time varies by device

The project I am working on requires a NodeMCU (ESP8266 WiFi module) to connect to a gateway (Advantech ARK-1123) equipped with a wireless adapter. After having the gateway create a separate wireless ...
2
votes
1answer
660 views

postfix connection to opendkim refused

I'm trying to send mail from my ubuntu (17.04) server to gmail, hotmail but the email is going to spam folder. I've checked /var/log/mail.log and I found out that there is a warning about opendkim ...
0
votes
0answers
18 views

waiting for connection pool

Using Ubuntu 14.04, w3m and curl (and, perhaps, my full-featured browsers) are taking a long time to connect. I think it is due to something like waiting for a socket on the system, but am looking ...
0
votes
0answers
423 views

Get Mac address of the connected PC using android device via a USB connection?

I have an android device which is connected to a laptop via a usb connection.I need to get that laptop's mac address using an app which will be installed in the android device. Can you suggest any ...
2
votes
1answer
1k views

How to find attached processes via unix domain socket?

I used netstat to acquire RefCnt column. And there are 2 attached processes via /var/run/mysqld/mysqld.sock. How to find their PIDs? # netstat -a -p -A unix Proto RefCnt Flags Type State ...
0
votes
1answer
52 views

For what is the socket located just beside the DVD drive in Dell E6430 used?

I just bought a new laptop from my computer teacher (where I do Web designing Course) few days ago. I was given only three things: A Bag, An Adapter, and The Laptop. I was not given any guide (I don'...
5
votes
1answer
11k views

how to view haproxy status on the command line using a socket

In the examples, I have seen on the net https://www.datadoghq.com/blog/how-to-collect-haproxy-metrics/#show-me-the-metrics You can use the command line echo "show stat" | nc -U /var/lib/haproxy/...
0
votes
2answers
585 views

Deluge refuses every non-localhost connection despite remote connections being enabled

I installed Deluge today on my Debian 8.0 VPS. Everything is working, except for remote connections. I explicitly enabled remote connections with config -s allow_remote true and after checking the ...
6
votes
1answer
827 views

What is this socket/port/connector on my laptop? [duplicate]

I've have this socket on my laptop (Lenovo Z570). What is this port and what is it used for? And what does that symbol mean (I expected a LOCK symbol)?
-1
votes
0answers
25 views

what is address family unknown1 in winsock2.h? [closed]

In the header file of winsock, I found an address family called unknown1. Here is the source code of the header file winsock2.h, and here is the code line that contain the constant of that address ...
1
vote
1answer
2k views

Close open sockets from crashed program

I am opening thousand of sockets and sometimes the program crashes leaving me with a lot less available sockets. Is there a way to clean those hanging sockets?
1
vote
0answers
134 views

Firewall : Is inbound required for getting response while Outbound rule already there?

I developed one MVC web application which have Web APIs and hosted in Amazon Instance and one windows application for calling those APIs for getting response from that server. Both Web and Windows ...
0
votes
1answer
699 views

Closing a socket which keeps waiting a child process, when the parent process has been killed

The situation is the following one: A service/parent process is connected to a "public port" (the parent process is a service). That "public port" is 11000. When new requests arrive to the parent ...
-1
votes
1answer
3k views

Popping, crackling noise from adapter with phone plugged in

I have a Samsung Galaxy 5 that I charge when at home with the Travel Adapter that came with it. Today, when I picked the phone up (it was charging and turned off) to unplug it, I suddenly heard a pop!...
0
votes
0answers
320 views

windows server 2012 network socket debugging (winsock / netsh) - debugging tools

I would like to monitor and debug the way an application (FileZilla) is accessing the tcp/ip stack (socket assignments and related operations). The application is installed on a windows server 2012 ...
2
votes
1answer
333 views

socat and rich terminal again

I start socat on a terminal by executing socat - UNIX-listen:/tmp/sock Then I go to another terminal and start a program (by python) in such a way, that it appears to run in the first terminal, here ...
0
votes
1answer
244 views

receive data from buffer in socket programming [closed]

please see this picture. recvfrom() blocks until a datagram is received from a client. Since there is no connection,each datagram may come from a different sender. i can receive data form receiver ...
1
vote
1answer
126 views

Network/Socket Connection Issue

Problem Socket Connection between 192.168.1.1(Server) and 192.168.1.12(Client) can NOT be established (See Fig. 1). Tests Test 1: "Ping" ping 192.168.1.2 -S 192.168.1.1 -> Success ping 192.168.1.12 ...
0
votes
1answer
351 views

exclude socket files during diff -r

diff has an option --recursive (-r) to do a comparison between two directories (the files inside them). Is there a way to make diff ignore all socket files and only socket files? I am using diff --...
0
votes
0answers
774 views

ethernet interface on Linux drops packets

I'm trying to capture some Ethernet frames with Linux. Some of these packets/frames are invalid and contain corrupted data. For example an Ethernet frame contains the type 0x0800 which is IPv4, but ...