why unix domain socket listener read expectedPacketLength? #26238
Closed
zdyj3170101136
started this conversation in
General
Replies: 2 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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