modified to recieve messages from any ip"