Buffering characteristics of Unix Sockets

2012-08-18T01:02:19

Does anyone know the buffering characteristics of Unix sockets when sending small chunks of data (a few bytes)?

When I am using TCP sockets, I can disable the Nagle algorithm to prevent latency in data transit. But there's no equivalent functionality (that I know of) for Unix Domain sockets.

Copyright License:
Author:「Gearoid Murphy」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/12010033/buffering-characteristics-of-unix-sockets

About “Buffering characteristics of Unix Sockets” questions

Does anyone know the buffering characteristics of Unix sockets when sending small chunks of data (a few bytes)? When I am using TCP sockets, I can disable the Nagle algorithm to prevent latency in ...
I'm opening a socket to send requests directly to the X server (to bypass using Xlib/XCB). #define X11_OP_REQ_CREATE_WINDOW 0x01 #define X11_OP_REQ_MAP_WINDOW 0x08 #define X11_OP_REQ_CREATE_P...
Some refs: Java UNIX domain sockets (JUDS) - https://github.com/mcfunley/juds Java/JNI for unix domain sockets - https://code.google.com/p/junixsocket/ Context: I want to use UNIX sockets for my
I am planning to use unix domain sockets for my IPC (inter process communication) between two processes running on same host machine. But I have to look into data security also before choosing unix
With POSIX socket API, the calls to read / write sockets generally follow: socket(), then setsockopt(), then bind(), then listen() / accept() / connect() for TCP sockets or connect() / sendto() /
Does anyone know if it's possible to use getaddrinfo with unix sockets in C (AF_UNIX). I've tried a couple of things but I can't make it work. This is basically what I'm trying: struct addrinfo hi...
It is written in Docker's documentation that: For this reason, the REST API endpoint (used by the Docker CLI to communicate with the Docker daemon) changed in Docker 0.5.2, and now uses a UNIX
I'm trying to employ Mono's UnixEndPoint, but fail before even getting to use it. I'm running Xamarind + .net 4.5 on a 64bit windows 7 system. Here's a bit of code proving that not a single combin...
This question is NOT for the difference between STREAM type and DATAGRAM type INTERNET sockets. I know that STREAM sockets use TCP, Datagram sockets use UDP and all the TCP,UDP stuff, packets arriv...
The example code listed here shows how to make warp listen only on specific hosts. Furtheremore, this post shows some basics on how to use unix domain sockets in Haskell. How can I combine those ...

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.