SHARE
TWEET

Untitled

a guest Dec 9th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                 std::cout << "base address: " << baseAddress.value() << " :"<< std::endl;
  2.                 auto [status, new_sock] = connect(baseAddress.value());
  3.                 if(status == ERROR_STATUS)
  4.                 {
  5.                     LoggerLogStatusErrorWithLineAndFile("NOT-CONNECT connection failed\n", status);
  6.                     return true;
  7.                 }
  8.  
  9.                 //pollfd_list.push_back(pollfd{new_sock, POLLOUT});
  10.                 m_socketsToAdd.push_back( {new_sock, POLLOUT} );
  11.                 m_proxyManager.addEstablishedConnection(receiving_socket, new_sock);
  12.                 m_proxyManager.addDataForDescriptor(new_sock, std::move(message));
  13.                 return true;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top