EventBufferEvent::getDnsErrorString

(PECL event >= 1.2.6-beta)

EventBufferEvent::getDnsErrorStringReturns string describing the last failed DNS lookup attempt

说明

public EventBufferEvent::getDnsErrorString ( void ) : string

Returns string describing the last failed DNS lookup attempt made by EventBufferEvent::connectHost() , or an empty string, if there is no DNS error detected.

参数

此函数没有参数。

返回值

Returns a string describing DNS lookup error, or an empty string for no error.

参见

相关文章
php eventbufferevent returns string describing the last failed dns lookup attemptphp ibm db2 函数 returns a string containing the sqlstate returned by the last connection attemptphp ibm db2 函数 returns a string containing the last sql statement error messagephp db++ 函数 get error string for given errorcode or last errorphp eio 函数 returns string describing the last error associated with a request resourcephp json 函数 returns the error string of the last json encode or json decode callphp maxdb 函数 returns a string description of the last connect errorphp maxdb 函数 returns a string description of the last errorphp maxdb 函数 returns the maxdb client version as a stringphp maxdb 函数 returns a string description for last statement errorphp stomp 函数 returns a string description of the last connect errorphp gearmanclient returns an error string for the last error encounteredphp mongodb driver exception writeexception returns the writeresult for the failed write operationphp mysqli stmt returns a string description for last statement errorphp mysqli returns a string description of the last connect errorphp mysqli returns a string description of the last errorphp mysqlnduhconnection returns a string description of the last errorphp solrclient returns the debug data for the last connection attemptphp sqlite3 returns english text describing the most recent failed sqlite requestphp sqlite3 returns the sqlite3 library version as a string constant and as a number
关注编程学问公众号