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 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 a string description for last statement errorphp 多字节字符串 函数 returns position and length of a matched part of the multibyte regular expression for a predefined multibyte stringphp msql 函数 returns error message of last msql callphp mssql 函数 returns the last message from the serverphp stomp 函数 returns a string description of the last connect errorphp gearmanclient returns an error string for the last error encounteredphp 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 sam 函数 contains the text description of the last failed sam operationphp solrclient returns the debug data for the last connection attemptphp sqlite3 returns english text describing the most recent failed sqlite request
关注编程学问公众号