test communication socket