PHP sockets with flash tutorial

hey.

im running PHP version 4.4.3

is it still possible to use the code in the PHP sockets with flash tutorial? (aimed at PHP5)

thanks