Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

socket_create() is undefined -- why?

Status
Not open for further replies.

watermelon14

Programmer
Mar 15, 2002
1
HK
I am using PHPTriad in Windows98. I am developing a client socket with PHP and server socket with java

When i try to create client socket with function --socket_create (AF_INET, SOCK_STREAM, 0), it said it is undefined function.

1. Why does this happen? any special libraries is needed for socket programming in PHP?

2. Some people said that I need to compile PHP with the --enable-sockets option? Is it a Unix or linux command? Where should i compile with this option in Windows platform?


thank a lot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top