Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 135,920 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 2,574 people online right now. Registration is fast and FREE... Join Now!




Socket()

 
Reply to this topicStart new topic

Socket(), Does it not exist?

Dr. Tim
13 Sep, 2002 - 06:57 AM
Post #1

D.I.C Addict
****

Joined: 20 Mar, 2002
Posts: 993

CODE
socket = socket(AF_INET, SOCK_STREAM, 0);

When that is in my code... PHP comes back and says...
QUOTE

Fatal error: Call to undefined function: socket() in /hsphere/local/home/coconutt/flashages.com/mailer.php on line 28


I don't know why... In my book it states socket() as a function.

Help.
User is offlineProfile CardPM
+Quote Post

Spider
RE: Socket()
13 Sep, 2002 - 09:59 AM
Post #2

Arachnid
****

Joined: 10 Jul, 2002
Posts: 769


My Contributions
your book is wrong methinks, although there are functions similar to socket, click here for a list of them. They may be what your thinking of.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 08:05AM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month