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

learn more… | top users | synonyms (1)

1
vote
0answers
9 views

lsof: restrict to sockets available via loopback

I can restrict the selection to sockets listening only on the loopback interface: $ lsof -p "$(pgrep -d, proga)" -i4TCP@127.0.0.1 -sTCP:LISTEN -P -n -a COMMAND PID USER FD TYPE DEVICE SIZE/OFF ...
1
vote
2answers
42 views

RST sequence number and window size

RFC793 states the following about RST processing: In all states except SYN-SENT, all reset (RST) segments are validated by checking their SEQ-fields. A reset is valid if its sequence number is ...
3
votes
1answer
15k 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
votes
1answer
30 views

Sandy bridge sockets

what is the difference between these two socket types: bga 1023 and rpga 988b asking because now I have i3-2310m which is bga 1023 type CPU before that I had Intel b970 CPU which had rpga 988b socket ...
0
votes
0answers
16 views

How to use socket or raw socket to sniff all icmpv6 nd packets?

I am working on NDP(neighbor discover protocol) on a router host and the ndp proxy functions to advertise neighbors behind the same router host. But currently, got stuck with the socket to sniff ...
0
votes
1answer
27 views

Connect a M.2 (B & M) key SSD into a B socket

I have buy a sdd with socket (B & M) key, but my computer just have a B key socket. My question is if I can connect the ssd in this B socket, the ssd would work correctly?
0
votes
1answer
46 views

Socat not closing tcp connection

I use socat 1.7.3.1-r0 and run following command on an alpine 3.3 linux server: socat -d -d -d PTY,link=/dev/ttyFOOBAR,echo=0,raw,unlink-close=0 TCP-LISTEN:7000,forever,reuseaddr Socat will listen ...
0
votes
0answers
9 views

Using ab command, 100 concurent process fails in Linux, How to solve this issue for Linux?

What i have done : I have used following ab command : ab -n 1000 -c 100 http://192.168.101.143:8558/num?num=5 Here, I am trying to generate 1000 http request , 100 concurrent process, port ...
0
votes
0answers
9 views

Sending ihex file over UDP using sockets

I am working with IPv6 and UDP sockets using python-2.7. I am particularly focusing on IPv6 Multicasting ff02::1 where every Link-Local address device (with fe80::) responds to queries from a central ...
58
votes
13answers
188k 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
65 views

Calculate Packet loss for data in android from streaming server in udp

I am developing a simple application for android where I need to communicate from server in UDP and I did that with the help of socket programming, now I need to find Packet Loss in my connection, so ...
-4
votes
3answers
64 views

What exactly is a network socket? [closed]

I've heard a lot of different definitions online, and having trouble understanding what a socket is. It'd be great if someone could shine a light where it's all dark for me.
0
votes
1answer
104 views

How to properly send GET and CONNECT requests from proxy to client?

I'm making an HTTP proxy in C++; when a client sends a GET or CONNECT request to the proxy, the proxy parses the HTTP header of the packet, resolve the hostname in it, opens another socket to the ...
3
votes
1answer
78 views

Is it necessary for an RST packet to have an acknowledgement number?

I am studying about TCP reset attack. I know that some RST packets have an acknowledgement number (with the ACK bit set), and some RST packets do not have an acknowledgement number (the ...
1
vote
1answer
20 views

Acknowledgement number of an RST packet

This question states that the acknowledgement number of an RST packet should be 0, but I have found it to be other than 0 when I captured some HTTP packets using Wireshark. So when does the ...
18
votes
3answers
21k views

linux named sockets howto

I know that there are named sockets & named pipes (fifo) in linux. In ls -l, they would look as below:(I have changed the filenames, for demonstration.) prw-r--r-- 1 root root 0 Nov 8 16:31 ...
-1
votes
2answers
4k views

Is it possible to upgrade the AMD E-300 APU on a laptop?

I read that this processor is BGA. That would mean that it is soldered to the motherboard? Can an average laptop technician replace it? This processor is very slow, it scores only 600 on the Passmark ...
1
vote
1answer
437 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 ...
0
votes
0answers
27 views

How do I plug a laptop power supplier into a printer? [closed]

I have this Hp printer and I'd like to power it up with this do I have just to weld 16v+ and ground? Or is it more complicated? Tks for your answers
0
votes
1answer
219 views

Understanding “cat proc/net/udp”

# cat /proc/net/udp | egrep "sl|3ADBFE0A" sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode ref pointer drops 16: 3ADBFE0A:007B ...
1
vote
1answer
94 views

Connecting a port in linux from other machine

I'm going fast to asking this question so i'm apologize. I'm on Linux Fedora 23. I'm running an application Telegram-CLI with listening a port using this argument. -P 1337 That is fine and works ...
50
votes
2answers
5k views

Why was port 80 chosen as the default HTTP port and 443 as the default HTTPS port?

Why was port 80 chosen as the default HTTP port and 443 as the default HTTPS port? Is there a reason or was it is just defined that way?
20
votes
2answers
9k 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 ...
8
votes
4answers
8k 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 ...
0
votes
0answers
127 views

Differences in RJ-45 plugs & keystone jacks for CAT5, CAT5e, CAT 6, CAT6a & CAT7 compliance?

I've read detailed insights on differences in the CAT Cabling. What is the difference between various cable types like Cat 5, Cat 5e and Cat 6? What is the difference between Cat 6 and Cat 6e ...
0
votes
0answers
20 views

Connect two applications/devices through web service

I want to send commands from one application (e.g. running on mobile device) to another application (e.g. running on embedded device) which is located in a different network. I don't want to use VPN ...
9
votes
3answers
7k 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 ...
2
votes
0answers
49 views

How to monitor the unix socket statistics in OSX per-seconds

I can monitor a net-device in the OSX, like below $ netstat -I eth0 -b 1 1000 input (Total) output packets errs bytes packets errs bytes colls ...
0
votes
1answer
57 views

Looking for a replacement audio jack

I am trying to repair a PC audio jack, however I am not able to find a replacement which is the same as the original. This is the PC board that I am reparing. I am reparing the headphone port. On ...
3
votes
2answers
132 views

Is it bad practice to listen on 0.0.0.0? Why?

Say I want to deploy a software that acts as a server and I want to avoid scenarios where interfaces are replaced, IP addresses are changed, etc. The nature of the environment in which this software ...
0
votes
0answers
334 views

“Could not create unix socket lock file” with MySQL 5.7.10 on OS X 10.11.2

I've been trying to install MySQL 5.7 on OS X El Capitan using Homebrew, however when it came to getting the server up and running, I cannot seem to get a lock file created. When I run mysqld_safe, ...
0
votes
1answer
829 views

Is it safe to create a link to a socket file in /tmp?

I'm a bit confused as to see that going from one Linux distribution to another, the package managers will sometimes configure processes to create the socket file either in /tmp or in ...
2
votes
1answer
68 views

How to list socket options of running processes?

Is there a convenient way (e.g. a readily-available command or a program that I can write using standard system calls) to list socket options (e.g. TCP_NODELAY) of an open TCP socket of some running ...
0
votes
1answer
86 views

How to use multiple network interfaces?

I need to use multiple network interfaces in a C program with sockets. My interfaces are wlan0 and eth0. When I connect eth0, the ping through wlan0 returns "Host unreachable", and consequently the ...
0
votes
1answer
426 views

Python: TCP/IP Socket Client, how to send login packet?

I wanted to create a bot to send login/join packets to a game server. So it will join then send more packets for it to write something in the chat, but I'm not sure how to do this. If someone could ...
-1
votes
1answer
77 views

Conflicting Port Forwarding results

Ook so weird situation. I'm trying to run a server socket in a python program (bit of code don't worry about it). For it to work I need to forward a port for the server to run on. I've forwarded the ...
0
votes
1answer
4k views

installing Gevent on OSX

>>> import gevent Traceback (most recent call last): File "<stdin>", line 1, in <module> File "build/bdist.macosx-10.6-universal/egg/gevent/__init__.py", line 41, in ...
1
vote
0answers
1k views

Can't connect to socket listening on 127.0.0.1 but works for 'localhost' in Windows 10

I have a clean install of Windows 10 Pro x64 and I’m trying to run PostgreSQL server on it. It used to work perfectly on Windows 7, but Windows 10 is behaving really weird: If I configure PostgreSQL ...
0
votes
1answer
236 views

How to free a port on OS X when lsof(1) reports that it is not in use

I am a developer working in OS X on Eclipse. A bug I have been working to fix in a web application results in some very strange behavior when resetting an instance of Tomcat, resulting in the ...
0
votes
0answers
182 views

BubbleUPnP http error java.net.SocketTimeoutException

I'm setting up a BubbleUPnP server so I can stream my music to myraspberry pi. I've installed everything but the connection doesn't work. I'm using Windows 7 on my laptop. I've forwarded the ports of ...
0
votes
0answers
111 views

How to communicate with a LaunchAgent via Unix Sockets?

I'm trying to setup a LaunchAgent (running in the current user's UI context) that can receive "commands" like a server. The "commands" are sent by a LaunchDaemon running as "root" user, or some other ...
0
votes
1answer
263 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 ...
1
vote
2answers
2k views

Socket error sending data from Loftware to Zebra ZM400

I am occasionally experiencing problems with my Zebra ZM400 printer. When I print a label from Loftware, sometimes the label does not print. When this issue occurs, I can't ping the printer nor can ...
0
votes
0answers
93 views

Socket.IO & Millions of requests

I am working on a social media company which has almost half of a million users. It's an iOS and Android application. I just joined them to build their website so I want to use socket.io for the ...
0
votes
1answer
181 views

TCP socket to serial port

Is is possibile to remotely access a serial port by tcp socket server? Exists this kind of software? It is the opposit of this question: Any free application to redirect serial communication to ...
0
votes
1answer
42 views

TCP socket communication from client to server

I am trying to test the performance of a client/server application that uses TCP communication. If I trigger multiple requests from the client, would it flow through the same connection/pipe to the ...
1
vote
0answers
6 views

Route only on output chain?

I have two machines A and B. I want to send iperf traffic from A to B, but first have it route through a userspace program on A. I did this with a tunneling device: therefore, I used the command ip ...
3
votes
2answers
928 views

Data retransmission and WSAECONNABORTED (10053) socket error

Say I have two sockets that are connected to each other (Socket A and Socket B). If the computer that have Socket B is unplugged from power, then if Socket A tries to send some data to Socket B, the ...
3
votes
2answers
139 views

Are FIN packets guaranteed to arrive?

In the 4-way handshake, we have the following: FIN -------> <------- ACK <---x--- FIN (what if this packet is lost?) ACK -------> What happens if the third packet is lost, will it be ...
0
votes
1answer
38 views

I can not connect with sockets using IP WLAN

I'm trying to make a connection by sockets, but I can not connect when I'm using IP WLAN, but the lookback IP connects and works, as seen in the two photos below That's what happens when trying ...