John Pili - Software Developer, Blogger and an aspiring Entrepreneur. · Feb 14, 2024
Using Unix Domain Socket in Go
0Sign in to vote or save
This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.
You can use Unix Domain Socket aka AF_UNIX for your interprocess communication. Previously, It was only available in a Linux/Unix operating system until Microsoft added it in Microsoft Windows in the beginning of Insider build 17063 . It offers better throughput and improved security package main import ( 'log' 'net' 'net/http' 'os' 'os/signal' 'syscall' ) func main () { socketPath := 'uds.sock'…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.