We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed416fd commit 86a2145Copy full SHA for 86a2145
README.md
@@ -51,3 +51,38 @@ $ cd cmd/readwrite2/client
51
$ go run .
52
```
53
54
+### Using encoding/gob package
55
+
56
+Open two terminals. the one is following:
57
58
+```sh
59
+$ cd cmd/usinggob/server
60
+$ go run .
61
+```
62
63
+and another terminal is following:
64
65
66
+$ cd cmd/usinggob/client
67
68
69
70
+## Monitor a local unix domain socket
71
72
+use socat. install it if not exists.
73
74
75
+$ sudo apt install -y socat
76
77
78
+and launch server program then input following commands.
79
80
81
+$ mv /tmp/echo.sock /tmp/echo.sock.original
82
+$ socat -t100 -x -v UNIX-LISTEN:/tmp/echo.sock,mode=777,reuseaddr,fork UNIX-CONNECT:/tmp/echo.sock.original
83
84
85
+### REFERENCES
86
87
+[Can I monitor a local unix domain socket like tcpdump?](https://superuser.com/questions/484671/can-i-monitor-a-local-unix-domain-socket-like-tcpdump)
88
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments