site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com G'day, All. I'm trying something a bit different for performance testing and have tripped over a problem that I just haven't been able to solve. Maybe you netheads out there can enlighten me. I have a pair of threads each of which have independent AF_UNIX, SOCK_DGRAM sockets. The client knows the servers AF_UNIX address and connect()s the client socket to the server before sending the first message. The server on recvfrom()ing the first message then connect()s the server's socket to the received client's address. Then falls into a simple mirror loop, that is send a reply, block in recv(). After a few messages the client, closes its socket. Q> Shouldn't the server's blocked recv() call be aborted with an ECONNRESET error, when the client's socket is closed? I know that this is an unusual usage of DGRAM sockets, but I eventually need some sort of control on the packet size when it goes through my instrumented network driver. Godfrey _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com