faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

16 of 24 people (67%) answered Yes
Recently 7 of 10 people (70%) answered Yes


Can somebody please tell me when to use fsockopen() etc...and when to use socket_create() etc...

Jul 1st, 2008 22:09
jack seo, tina web, Khurram Ijaz, Renny Eapen, http://www.renai-soft.com

fsockopen uses the stream api. Use it as the first option. socket_create
is for more control e.g. if you want to set options on sockets.
Khurram Ijaz,