library into a PHP module. Here's something I found on that.. http://devzone.zend.com/article/4486 The other option is to recreate packets that enet is trying to receive via php's already available functions via socket_create(). I would say the first option is less of a hassle if you don't mind getting dirty with the PHP source.