|
- networking - What is a socket? - Unix Linux Stack Exchange
112 A socket is a pseudo-file that represents a network connection Once a socket has been created (identifying the other host and port), writes to that socket are turned into network packets that get sent out, and data received from the network can be read from the socket Sockets are similar to pipes Both look like files to the programs
- ssh - Why does my X11 forwarding attempt fail with connect tmp . X11 . . .
I then struck to me that tmp X11-unix X0 was actually refering to a socket local to my ssh client I was using MobaXterm to provide the XServer which is using another Cygwin context (in my case tmp maps to C:\Users\USER\AppData\Local\Temp\Mxt230\tmp) By locally defining the DISPLAY using a hostname IP, ssh -X does the correct mapping
- socket - Set can baudrate with ioctl or similar from C C++ - Unix . . .
I'm currently setting the baudrate of my can0 with ip link: sbin ip link set can0 up type can bitrate 250000 I'm just wondering how to do the same from within C C++?
- select() marks a FD to be readable, but there is no data to be read
I'm encountering an issue in my server code where calling accept() on the listening socket will occasionally block, even though select() marked it readable My understanding is that this isn't a case that should happen often, if at all, but I'm not sure if there is a POSIX-standard guarantee on data being available when a socket is "readable"
- How can I monitor all outgoing requests connections from my machine?
The ss (socket status) command outputs "Local Address:Port" and "Peer Address:Port" columns, we need to remove the listening ports from the "Local Address:Port" column and not the "Peer Address:Port" column, otherwise you may miss some outgoing connections
- How to fix VFS: cifs_mount failed w return code = -115 after an . . . - linux
@SuperAI My bad on the syntax I still think the -115 in the title is a consequence of the Socket error, maybe due to a race condition since the updates?
|
|
|