This is strictly in the context of Unix Datagram Sockets: family = AF_UNIX/AF_LOCAL type = SOCK_DGRAM
Does the following look correct for a scenario where a client sends message to server ? Server send to client not required as of now.
1.1. Create socket using
bind()to a file path
read()which'll be blocking by default unless specified via
2.1. Create socket using
bind()to the file path in 1.2. This throws EADDRINUSE that address already in use. If
connect()is used instead then it results in EPERM operation not permitted.