Added acceptloop, both freebsd and linux