Jump to content

Recommended Posts

Posted

Socket connections from php?

 

Do shared hosting accounts support socket connections from php scripts, like

 

$socket = fsockopen("udp://$ip",$port,$errno,$errstr,2);

 

????

 

Thanks :D

Posted

Yes. Sockets are supported. I ran a test doing a UDP fsockopen to a remote host successfully to make sure (hence taking a little longer to respond to your post).

Posted

Since the post was originally asked and answered in this forum. I left it in here, and deleted it from the other. Just to clean things up a bit. <_<

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...