Skip to content

Instantly share code, notes, and snippets.

View ekovacs's full-sized avatar

Endre Kovács ekovacs

View GitHub Profile
@ekovacs
ekovacs / sysserver.go
Created October 7, 2022 19:47 — forked from mangalaman93/sysserver.go
setting low level socket options in golang (SO_PRIORITY, SO_REUSEADDR)
package main
import (
"bufio"
"fmt"
"net"
"os"
"syscall"
)