Questions tagged [sockets]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

Python sockets protocols have the same value

So i am reading this book and in chapter about packet sniffing i uses this s = socket.socket(AF_PACKET, SOCK_RAW, sock.htons(0x0800)) I looked up to which protocol has the value 8 since htons(0x0800) ...
0
votes
0answers
19 views

Is extra Firewall Hardware needed?

My Client wants to build a Private Cloud for My application which communicates only via TLS 1.3 using FTPS protocol. He will be Port Forwarding my suggested range of ports only. Via Windows firewall ...
0
votes
1answer
87 views

Using socat for SOCKET-SENDTO

I'm trying to use socat to send a raw packet to an ethernet interface, but I get "No such device or address". How should I be using socat? Usage: $ echo hi | sudo socat - SOCKET-SENDTO:17:3:0:...
0
votes
1answer
70 views

how to solve “No if updown configuration found” for CAN bus interface Linux 18.4.4LTS

I am trying to get SocketCAN interface working. I've added the slcan0 adapter and trying to run candump slcan0 at a bit rate I am sure the CAN devices is running at. I dont see any data being printed ...
0
votes
1answer
26 views

How does a cloud NAS manage to be accessed from the outside of a LAN through an app?

I have a cloud NAS within my home network and I can't figure out how it manages to be accessed from the outside through an app. How does the app always know at what address requests should be sent, ...
0
votes
0answers
12 views

will both pentium 3 cpu and celeron P600 cpu fit in the socket 370

Will the celeron P600 cpu fit the same socket 370 as the pentium 3 600Mhz cpu? I have seen there are differences even if the socket number is the same.
0
votes
0answers
39 views

How can I know what is preventing my socket to bind to localhost:50060-50959

I am using this Python code to listen to a port on my Windows 10 system: import socket for port in (50059, 50060, 50959, 50960): try: print(socket.socket(socket.AF_INET, socket.SOCK_STREAM)....
0
votes
0answers
16 views

How to use radiotap on a raw socket?

How radiotap can be used on a raw socket in Linux? I' leveraging a library that resorts to raw sockets to send data through a wireless interface. However, many protocols that I am interested in ...
1
vote
2answers
64 views

Why can I access nginx but not a C server socket in my server at home?

I have a Debian server machine at home with NGINX. Right now it is only serving the default index.html that installs along with nginx. I got myself a hostname in Dynu and got TLS certificates with Let'...
0
votes
0answers
37 views

How do SO-DIMM and M.2 sockets raise the modules?

When installing a SO-DIMM or M.2 module, you insert the modules sideways, push down and lock them. What's inside the socket, what pushes the modules up? Additionally, why isn't this installation ...
0
votes
0answers
339 views

failed to load resource net::ERR_FILE_NOT_FOUND Nodejs

I am in a mind boggling problem, unable to decipher whether or not the way how Windows and Ubuntu manages files had anything to do with socket.io in particular. I obtained the failed to load resource ...
2
votes
1answer
193 views

pfctl divert-socket in mac os?

I'm messing with divert sockets in OSX, and in order to capture any socket, I first need to set up a firewall redirection (divertion if you will): ipfw add divert 3282 tcp from any to any Something ...
0
votes
0answers
13 views

Cooler master ml120 RGB on different socket size

Does anybody know if the Cooler Master ML120L RGB liquid cooler fits the LGA 1151-v2 socket? Or is there any difference between the LGA 1151 and LGA 1151-v2 in terms of dimensions/size?
0
votes
0answers
12 views

Can socket sendto blocks randomly

Hello I am using a custom board with nxp processor, it has mcp2515 can controller connected via SPI. For the can communication, I have used can socket provided in yocto environment. The can ...
0
votes
0answers
100 views

How to fix the outerscope and shadowing the name

Can anyone please explain how to prevent from getting these errors in PyCharm? Also, can anyone please explain the difference between send to and send in simple words and its syntax? '**rdt**' is a ...
0
votes
0answers
466 views

How to run a socket.io app on apache?

I have a websocket service running on an Apache server. I read that you need to active two modules proxy_fcgi and proxy_wstunnel and reload Apache. (Done) This is my virtualhost file <...
0
votes
0answers
30 views

Setting up Port Forwarding so C++ Soket program would work

I followed this tutorial:https://www.geeksforgeeks.org/socket-programming-cc/ as it's my first time working with sockets. The program worked fine on a LAN with client connecting to server with server'...
1
vote
3answers
118 views

Client to Client Communication bypass Firewall?

I have got a Raspberry Pi which is communicating via sockets with my PC. If I’m running this setup at home everything is working fine. But in my university I cant even ping the Raspberry Pi Would it ...
1
vote
1answer
133 views

What is the equivalent of “/tmp/.X11-unix/X0” on Windows when using things like Xming?

I want to know what exactly does the display name like :0.0 mean on Windows. Where does Xming place its listener socket for others to find? When I set the "Display location" in PuTTY, where does it go ...
0
votes
0answers
26 views

Using “TIdSSLIOHandlerSocket” class giving me error “Already Connected”

There is already a connection established between Delphi client application and the server but at a specific point, client application established connection again with the server with the use of "...
0
votes
0answers
70 views

Radmin:Can not create a socket error

For some reason I had to execute Radmin on the command line, but occasionally I encountered an error prompt that it couldn't build a socket. My local system is Windows Server 2008 R2; &Radmin 3.4;...
0
votes
1answer
52 views

Unknown IceCast fails

I have a node.js script, which works in daemon mode. The script reads IceCast ogg stream itself (on the fly) and sends audio tags to website. But sometimes (exactly once per 2 days) the script fails ...
0
votes
0answers
29 views

Python server for simple website, how?

I hope this is the right exchange to post this, if it isn't I'm sorry and please redirect me. I am in the process of learning networking and webdev basics and started a little project and got lost ...
0
votes
0answers
30 views

GPS Device is sending junk data

I have a GPS device BW08C and when I configured with IP and protocol it is sending some raw junk on server. On other hand when I worked with other GPS device like LKGPS LK209 it gives me proper data ...
3
votes
1answer
241 views

What is the difference between [::] and * in binding sockets to IPv6 addresses?

I'm trying to investigate listening IPv6 sockets on an Ubuntu Server. I don't understand the difference between [::] and *. Two questions on my mind: Ary there any difference? If not, why they ...
0
votes
0answers
106 views

Multiple Processes listening on Port 22? How is this possible?

I have a Solaris 10 Server that has SSH enabled, I wanted to find out which specific process is responsible for opening the socket that listens for the port 22. I used the PFiles utility to loop over ...
13
votes
1answer
4k views

How does the OS tell whether an “Address is already in use”?

If my C program uses sockets, binds to localhost:9025, exchanges some data, gets manually killed and restarted, it sometimes crashes with the error being: Address already in use. All SE-...
0
votes
0answers
50 views

Exception: System.Net.WebException: The underlying connection was closed - IIS

I have very strange trouble and it's difficult to me to find solution for this error. Currently i have some services hosted on the IIS on different servers. On one of the servers there are times ...
0
votes
0answers
161 views

Pyinstaller not working properly after using shutil

Recently, while developing a reverse shell sample, I wrote a python program and then converted it into a .exe using pyinstaller. The idea here is try to bind a client to a server. First it creates a ...
0
votes
0answers
41 views

Installation error of 1c bitrix (especially for Russians)

I acted according to the video on Install PHP, Apache and MySQL. One of the differences is that I had a slightly different hierarchy of folders and files. My hierarchy is as follows: root is C: \ ...
0
votes
1answer
138 views

Is it safe to use one server fd in multiple epoll event loops in different threads?

I have one server fd, and several threads with epoll event loop in each of them (different epoll_fd's). Is it safe, if I would add this fd to every event loop? Is it true, that only one of them would ...
0
votes
0answers
47 views

Freebsd kqueue system call

I have a question regarding kernel event notification mechanism. I am working on RTEMS, and I am using freebsd version 9.2. I need to detect event when socket sending buffer is full. From ...
1
vote
1answer
366 views

How to make TCP program binding to any network interfaces?

I have a client / server network application using Boost ASIO TCP socket. The client is running on an embedded Linux system where multiple network interfaces available (WiFi, cellular, etc), at any ...
0
votes
0answers
656 views

System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

issue:WCF application, when the NetTCP client calls the server-side remote method (there are many remote methods, the server-side cpu/memory is normal). The following errors occur very occasionally ...
0
votes
1answer
60 views

XAMPP & C# Socket IPAdress questions

I'm working on a multiplayer game and I'd really like to bring it online. I'm a bit dumb when it comes to networking so please bear with me as I try to make heads and tails of this. I have a C# ...
0
votes
1answer
360 views

Stop 'Connection refused' errors in production

I recently began receiving error: [Errno 111] Connection refused errors from http://yandex.com/bots that crawl my website in production. I do not mind that they are crawling the site, but would rather ...
0
votes
0answers
30 views

Connection failed error for client connected to server over wifi (TCP socket program in c)

Requirement : Need to send and receive message from two devices connected over wifi using TCP socket programming in c. Receiving connection failed for client socket. I am able to connect same client ...
0
votes
1answer
23 views

Informatica Dynamic Data Masking RoutePeer-2.serverData: Failed with: java.io.IOException: Connection reset by peer

We recently were working on a project that required using tableau with dynamic data masking service. Things all work fine till we try to extract a large table with approx. 20000000 records (about 10 ...
1
vote
0answers
2k views

failed: Error during WebSocket handshake: Unexpected response code: 400

I am using apache2 AWS server to deploy my project. My project is developed using NodeJS and ReactJS. For the last few days sever responds with this error, WebSocket connection to 'wss://staging....
2
votes
1answer
1k views

how to read UDP buffer size on windows 10?

I have a server application that will receive more than 200 udp packet concurrently (strings of max 64 bytes), for testing and performance purpose I want to check the UDP buffer in my server to check ...
1
vote
1answer
292 views

Communicate with Docker daemon on Windows

I want to use Docker API on Windows, but as far as I know, there are no socket files on Windows. On Linux, I can use /var/run/docker.sock, but how can I use Docker API on Windows?
1
vote
0answers
84 views

How can I use the “location of socket in memory” field in /proc/net/tcp

I'm working on a proxy for linux(C++) that, amongst other functions, keeps track of tcp connections and associates them with the process's pid. To do that, I get the inode in /proc/net/tcp and then ...
0
votes
0answers
348 views

Multiple applications using same multicast group on the same Windows host

I am a software engineer designing a distributed software, in which the startup procedure utilizes IP multicasting to discover its peers. The software itself is distributed as different executable ...
3
votes
1answer
4k views

How to expose Linux socket file from Docker container (MySQL, MariaDB, etc.) to host

Disclaimer: I am not looking for a way to configure MySQL/MariaDB to use TCP connections. I am aware of that option and the question is not about that aspect. I am having trouble binding a socket ...
0
votes
0answers
222 views

How does multi cpu system shares pci-express bus?

For a modern single-cpu system things are transparent: there is multicore cpu, where cores are talking via uncore functions (like L3 cache, shared on-die memory controller). Uncore does also all the ...
0
votes
1answer
123 views

Extended socket information from ss

Running the following command gives me extended socket information. $ss -tuen Netid State Recv-Q Send-Q Local Address:Port ...
2
votes
1answer
536 views

cannot start docker when using chroot

I am trying to build a custom distribution that runs docker. I am using kiwi framework to achieve that. Docker installation is done successfully during the build. The problem is that I want to load ...
1
vote
0answers
439 views

Communicate with Topshelf windows service running on a server

I have a Topshelf windows service running on a Windows Server and I want to communicate with it, start and stop it from a remote client app, and try to resume some data from "MyService.cs" that is ...
0
votes
0answers
1k 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 ...
0
votes
0answers
718 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 ...

1
2 3 4 5 6