title: How to get realtime updates?
body: <p>I was chatting frequently in Facebook and as I love to code more and more so I tried to create a Chat Script! Here it is :::
  <a href="http://wooflux.co.cc/ChatSystem.1.1/ChatSystem.1.1/" rel="nofollow">http://wooflux.co.cc/ChatSystem.1.1/ChatSystem.1.1/</a> </p>
  
  <p>You try it out. But it is just a beta version so there are some bugs in it. And one of the biggest bug is that it requires a good internet speed to get real time updates. But when I push my net's speed to it's maximum and then chat with one of my friends in Facebook, it work in real time! I was wondering how did they do that? Can anyone explain me how they achieved this. Currently I'm sending Ajax requests in number intervals to get real time update. So please help me out by explaining or giving a link that how did Facebook achieved real time Chats without using much of the Internet speed?</p>