Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

socket

lxterminal in the netstat output

August 10, 2022 by Magenaut

Can you explain the following lines in the netstat output?

Categories Q&A, Unix & Linux Tags lxterminal, netstat, networking, socket Leave a comment

Understanding output of lscpu

August 10, 2022 by Magenaut

You can see the output from lscpu command –

Categories Q&A, Unix & Linux Tags cpu, lscpu, multithreading, socket Leave a comment

What is a socket?

August 10, 2022 by Magenaut

Could someone explain to me what a socket is? I see it in many acronyms in context of SSL, etc.

Categories Q&A, Unix & Linux Tags history, networking, socket, terminology Leave a comment

How can I communicate with a Unix domain socket via the shell on Debian Squeeze?

August 10, 2022 by Magenaut

I’m running a Debian Squeeze web server. I’ve installed memcached on it, and configured memcached to listen on a Unix domain socket (at /tmp/memcached.sock), as it only needs to receive messages from the website, which lives on the same server.

Categories Q&A, Unix & Linux Tags debian, shell, socket, telnet Leave a comment

How do I list all sockets which are open to remote machines?

August 8, 2022 by Magenaut

A vanilla ss -l lists (on my current machine) lots of open sockets, with various Netid types and many of which are only listening on localhost.

Categories Q&A, Unix & Linux Tags linux, security, socket Leave a comment

Kernel socket structure and TCP_DIAG

August 7, 2022 by Magenaut

I’m working on a software which connects to a Real Time data server (using TCP) and I have some connections dropping. My guess is that the clients do not read the data coming from the server fast enough. Therefore I would like to monitor my TCP sockets. For this I found the “ss” tool.

Categories Q&A, Unix & Linux Tags linux, socket, tcp Leave a comment

How do I reserve ports for my application?

August 7, 2022 by Magenaut

How do I reserve a list of ports for my custom applications?

Categories Q&A, Unix & Linux Tags socket, tcp, udp Leave a comment

Are FIFO, pipe & Unix domain socket the same thing in Linux kernel?

August 7, 2022 by Magenaut

I heard that FIFOs are named pipes. And they have exactly the same semantics. On the other hand, I think Unix domain socket is quite similar to pipe (although I’ve never made use of it). So I wonder if they all refer to the same implementation in Linux kernel. Any idea?

Categories Q&A, Unix & Linux Tags fifo, ipc, linux-kernel, pipe, socket Leave a comment

Is there a file for each socket?

August 7, 2022 by Magenaut

“Everything is a file” in the UNIX World.

Categories Q&A, Unix & Linux Tags files, kernel, socket Leave a comment

What does the @ symbol denote in the beginning of a unix domain socket path in Linux?

August 7, 2022 by Magenaut

When I run netstat --protocol unix or lsof -U I see that some unix socket paths are prepended with @ symbol, for example, @/tmp/dbus-qj8V39Yrpa. Then when I run ls -l /tmp I don’t see file named dbus-qj8V39Yrpa there.

Categories Q&A, Unix & Linux Tags linux, path, socket Leave a comment
Older posts
Page1 Page2 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress