network listener working