I'm using mIRC to open a socket to a website. The logs from the DB show that the page is opening at LEAST 2 times, sometimes 3. The 2nd time is usually 2 minutes from the first time. However, the socket is only opening once; I have an echo on sockopen. I manually went through firefox and clicked on the link, the same thing happened that happened within the mIRC script.
This doesn't happen to anyone else on this site; does anyone have any theories as to why the 开发者_Python百科page is loading twice?
Since pure sockets never interpret any HTTP-codes, it must reside within your code... And since you didn't supply any code paste, there is nearly no way to help you.
The only thing I can think of would be some sort of timer or event which causes the sockets to close and/or reopened again. This would explain the page loading twice. But if you trigger the sockopen yourself with /sockopen or via an alias there must be some cause in your script or other scripts which interference with it.
You should paste your code on http://pastebin.com/ and paste the link her
It was an internet connection issue in the end.
精彩评论