libraries/ESP8266WiFiMesh/src/ESP8266WiFiMesh.cpp
bool ESP8266WiFiMesh::exchangeInfo(String message, WiFiClient curr_client)
{
	curr_client.println( message.c_str() );

	if (!waitForClient(curr_client, 1000))
		return false;

	String response = curr_client.readStringUntil('\r');
	curr_client.readStringUntil('\n');

	if (response.length() <= 2) 
		return false;

	/* Pass data to user callback */
	_handler(response);
	return true;
}
/**
 * Send the supplied message then read back the other node's response
 * and pass that to the user-supplied handler.
 *
 * @target_ssid The name of the AP the other node has set up.
 * @message The string to send to the node.
 * @returns: True if the exchange was a succes, false otherwise.
 * 
 */
Send the supplied message then read back the other node's response
and pass that to the user-supplied handler.

@target_ssid The name of the AP the other node has set up.
@message The string to send to the node.
@returns: True if the exchange was a succes, false otherwise.
Send the supplied message then read back the other node ' s response and pass that to the user - supplied handler . @target_ssid The name of the AP the other node has set up . @message The string to send to the node . @returns : True if the exchange was a succes false otherwise .
bool ESP8266WiFiMesh::exchangeInfo(String message, WiFiClient curr_client)
{
	curr_client.println( message.c_str() );
	if (!waitForClient(curr_client, 1000))
		return false;
	String response = curr_client.readStringUntil('\r');
	curr_client.readStringUntil('\n');
	if (response.length() <= 2) 
		return false;
	_handler(response);
	return true;
}
bool ESP8266WiFiMesh :: exchangeInfo ( String message , WiFiClient curr_client ) { curr_client . println ( message . c_str ( ) ) ; if ( ! waitForClient ( curr_client , 1000 ) ) return false ; String response = curr_client . readStringUntil ( ' \r ' ) ; curr_client . readStringUntil ( ' \n ' ) ; if ( response . length ( ) <= 2 ) return false ; _handler ( response ) ; return true ; }
Send the supplied message then read back the other node's response
 and pass that to the user-supplied handler.
Send the supplied message then read back the other node ' s response and pass that to the user - supplied handler .
/* Pass data to user callback */