started programming sockets in p2pms.cpp and added ignore rules