Tcp domain work