demo socket