100 Web Space http://forum.100webspace.com/ |
|
Sockets and php http://forum.100webspace.com/viewtopic.php?f=5&t=5468 |
Page 1 of 1 |
Author: | tissuebubble [ Sat Dec 09, 2006 4:36 am ] |
Post subject: | Sockets and php |
Hello, I was trying to make a socket work using a tutorial, so I am not exactly sure of what I am doing yet. However, all the tutorials seem to say to use socket_create() yet I am unable to get it to work, it just outputs a fatal error: Fatal error: Call to undefined function: socket_create() in /home/www/nsider.freestarthost.com/test.php on line 8 I was wondering if sockets are enabled or not and if that is my problem. The bad line is: $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP) or die("Could not create socket\n"); |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |