socket connection, gui, data sending test