working local socket