The most basic thoughts I can put on it is "Hey, there's another snake here. That means there's food around!"
Although I'm hoping further research can prove. "Hey, another snake! Let's mingle to reduce the chances of assertion and conserve our species through shared food intake collaboratively!" XD