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

learn more… | top users | synonyms (1)

1
vote
1answer
16 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?
15
votes
2answers
6k 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
7k 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
63 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
9 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 ...
16
votes
2answers
18k 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 ...
8
votes
3answers
6k 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
23 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
0answers
74 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
47 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
104 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
176 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
778 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 ...
3
votes
1answer
44 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
59 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
263 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 ...
56
votes
12answers
169k 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 ...
-1
votes
1answer
59 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
681 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
184 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
115 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
70 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
216 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
1k 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
66 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
151 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
40 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
672 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
101 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
22 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 ...
0
votes
0answers
26 views

Connect from A to C using B in the middle

What software can be used to do a connection: A <-> B <-> C Where: A is a windows pc. B is a windows pc on a remote desktop (with an static ip) C is another computer that expect connections ...
2
votes
0answers
92 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
148 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
1answer
124 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
66 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 ...
13
votes
3answers
9k 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. ...
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
147 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
1answer
1k views

Why can't I delete a file marked as a socket from my linux ext3 filesystem?

I'm running Ubuntu 9.04 with a ext3 filesystem. A while ago I was hacking on the flock 2.0 source and I have just tried to delete the source directory, but a single file could not be deleted when ...
0
votes
0answers
75 views

How to connect two debian VMs using vmware workstation so that one acts as a web server and the other as web client

I want to connect two virtual machines running using VMWare workstations - Debian Linux and I have setup private DNS server on one VM named "Server" and other VM is named "client". I am trying to ...
1
vote
0answers
107 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
344 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
110 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
4answers
1k views

How to enable ports on a wireless network for java socket programming

Background: I have written a java server-client program. The server accepts incoming connections on port 2175 and writes responses on 2176 which the client listens on for the response. I am sending ...
1
vote
1answer
5k 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? ...
0
votes
1answer
172 views

How to fix 0x800CCC0E Error Codes?

I recently started receiving the above-mentioned error which is apparently a Winsock error message it is preventing me from checking my e-mail with Gmail, although there is no problem with my e-mail ...
6
votes
1answer
1k views

Tell GNU screen where to save the sessions?

My GNU screen stores its sessions in the /tmp directory. That means that after a reboot, all sessions are lost: $ screen -list No Sockets found in /tmp/uscreens/S-dehmann. How can I tell it to ...