Women in Technology

Hear us Roar



Article:
  Introduction to Socket Programming with PHP
Subject:   socket in Windows
Date:   2004-01-11 01:23:30
From:   anonymous2
Hi!
This is a jump start for my socket pgming which I was dreaming to do in C.
Anyway, I have a problem with socket() function in Windows. As you mentioned it says socket function is undefined.. But I couldnt follow the way u told to edit the php source. Could you please be a little more elaborate. Thankyou


TommYNandA

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • socket in Windows
    2004-09-03 23:15:39  vinukrish [View]

    Dear,
    Please tell which version of PHP ur using on windows platform.I have solution of ur problem
    Follow these steps :
    > check ur php.ini file .in this check dynamic extensions section please uncomment the line extension=php_sockets.dll
    > secondly now in ur php folder find ext folder copy php_sockets.dll file to ur windows folder and system folder.

    Now ur script is ready to use socket function on windows platform.
    Have a nice socket programming...