Results 1 to 10 of 31
Threaded View
-
13th Aug 2010, 10:56 PM #22MemberWebsite's:
litewarez.net litewarez.com triniwarez.comUDP sockets will sometimes appear to have opened without an error, even if the remote host is unreachable. The error will only become apparent when you read or write data to/from the socket. The reason for this is because UDP is a "connectionless" protocol, which means that the operating system does not try to establish a link for the socket until it actually needs to send or receive data.
so basically you need to send a small 8 bit buffer for your host to actually attempt a connection
try doing something like:
PHP Code:try
{
$socket = fsockopen($host,$port,$e_number,$e_string,$timeout);
fwrite($socket,str_repeat(" ",8));
}catch(Exception $e)
{
//Not a valid domain more than likly!
return false;
}
Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Selling] Excellent Matrimonial Script| Complete readymade Matrimony Script Available
By matriscript4u in forum Marketplace (Buy, Sell and Trade)Replies: 0Last Post: 23rd Oct 2012, 02:54 PM -
[Selling] Mp3 Search Engine, File Host, SMS Script, Arcade Script, PDF Search Script, and More!
By Fileze in forum Completed TransactionsReplies: 12Last Post: 13th Mar 2012, 02:23 PM -
[Selling] Rslinkgens Premium link generator script V1 -Most advanced and viral script
By vccshopper in forum Completed TransactionsReplies: 0Last Post: 24th Jun 2011, 08:10 PM -
[Selling] A.A.S. (Adult Automated Script For ClipBucket Video Script)
By tangi in forum Completed TransactionsReplies: 0Last Post: 25th Mar 2011, 12:45 PM -
need text hosting script or link shorter script
By onel0ve in forum General DiscussionReplies: 3Last Post: 16th Jan 2011, 08:26 AM
themaCreator - create posts from...
Version 3.53 released. Open older version (or...