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 ...
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
54 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 ...
0
votes
1answer
66 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 ...
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 ...
-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 ...
-4
votes
3answers
65 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
112 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 ...
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
1
vote
1answer
97 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 ...
1
vote
0answers
131 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 ...
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
225 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 ...
0
votes
1answer
59 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
134 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
340 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, ...
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 ...
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?
0
votes
1answer
434 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
79 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 ...
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
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
1answer
242 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
112 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
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
7 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
934 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 ...
2
votes
0answers
118 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
161 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 > ...
1
vote
0answers
98 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 ...
0
votes
1answer
171 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 = ...
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
171 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
0answers
122 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
399 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
122 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
1answer
264 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 ...
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 ...
1
vote
0answers
32 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 ...