added socketdraw to demo