Jump to content

fsockopen error 110


HenryCan

Recommended Posts

I'm trying to write a little PHP program to send an announcement to a low-volume newsgroup once or twice a month to notify people about meetings of my bookclub. I googled and found a couple of articles describing the techniques. Here they are:

 

1. http://docstore.mik.ua/orelly/webprog/pcook/ch17_05.htm - this one describes the code for a news server that doesn't require a login

2. http://www.joe0.com/2010/12/11/using-php-and-nntp-to-post-new-message-to-usenet/ - this one describes the code for a news server that DOES require a login

 

I have access to my target newsgroup via both types of news servers and I've tried the code given in both the examples after substituting the appropriate values but neither one works. I can access the newsgroups perfectly well in my newsreaders so I know the settings I'm using are correct. But php's fsockopen keeps getting error 110, which is apparently a connection timeout.

 

How do I get around this? I'm guessing that I have to adjust a setting in my router or in Windows to enable the connection. I'm running Windows XP (SP3).

 

I'm not including my code because it is just what you see in the examples I've cited; I'm quite sure I haven't made any typos in providing my newsgroup name, etc. but if you absolutely must see my code anyway, just say so and I'll provide it.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.