mirror of
				https://github.com/zeromq/libzmq.git
				synced 2025-10-26 02:18:06 +01:00 
			
		
		
		
	Problem: failed address resolution on TCP connect is not observable
Solution: added TODO comment for now
This commit is contained in:
		| @@ -177,6 +177,8 @@ int zmq::tcp_connecter_t::open () | ||||
|     _s = tcp_open_socket (_addr->address.c_str (), options, false, true, | ||||
|                           _addr->resolved.tcp_addr); | ||||
|     if (_s == retired_fd) { | ||||
|         //  TODO we should emit some event in this case! | ||||
|  | ||||
|         LIBZMQ_DELETE (_addr->resolved.tcp_addr); | ||||
|         return -1; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Simon Giesecke
					Simon Giesecke