liquidat/nagios-icinga-checks — pull request #1 by Hagfjall (2014-08-25 11:21:51+00:00)
Title: Removed connect() on the socket.

According to https://docs.python.org/2/library/socket.html#socket.socket.sendto the sendto() should only be used when not connected. Removed connect since sendto() connect to the specified address.

This patch fixes the problem ( [Errno 56] Socket is already connected ) on OS X.