in reply to Re^2: problem with UNIX Domain sockets
in thread problem with UNIX Domain sockets

First of all, please don't delete your original post. The thread will make little sense in the future without it.

Second of all, you again have a datagram vs. stream problem. The connect() is to connect to a TCP server, but you are running a UDP server. A UDP client just creates the socket and starts sending.

This may help: http://www.prasannatech.net/2008/07/socket-programming-tutorial.html This gentleman has provided simple examples of TCP and UDP servers and clients in C, Perl, Python, and Java.