This is demo for socket