socket works