why unix domain socket listener read expectedPacketLength? #26238
Closed
zdyj3170101136
started this conversation in
General
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
in uds listener:
why we read expectedPacketLength?
each system call is expensize, we should not read it!.
why we use api conn.ReadFromUnix but not conn.Read()?
there is no difference.
Beta Was this translation helpful? Give feedback.
All reactions