Nodejschat_field is a project mainly written in PHP, it's free.
A Drupal 6 Integration module for bringing Node.js Chat
Integrates with a Node.JS Chat Server by providing a cck field that can be added to any node type, which when a node is saved, calls for the node.js app to generate a chatroom.