Umm... Well I never had this problem, try un-installing and re-installing Windows Live Messenger. Here is the official download website - http://get.live.com/messenger
If the doesn't work, there might be something wrong with your internet or you MIGHT have a virus.
Google your problem or go to tools < options and see if there's something wrong.
@Daily: What do you mean by ping? You mean how long it takes each message to send/receive? When I message someone, it takes around 1-2 minutes for the error message to return.