I am trying to write a simple Unix datagram server/client, and am having some problems. What I want is a server that listens on a datagram socket and sends a reply to every
You should call connect before of trying send nothing to the echo server.
Take a look at: http://beej.us/guide/bgipc/output/html/multipage/unixsock.html