Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::cout << "base address: " << baseAddress.value() << " :"<< std::endl;
- auto kappa = connect(baseAddress.value());
- auto status = kappa.first;
- auto new_sock = kappa.second;
- if(status == ERROR_STATUS)
- {
- LoggerLogStatusErrorWithLineAndFile("NOT-CONNECT connection failed\n", status);
- return true;
- }
- //pollfd_list.push_back(pollfd{new_sock, POLLOUT});
- m_socketsToAdd.push_back( {new_sock, POLLOUT} );
- m_proxyManager.addEstablishedConnection(receiving_socket, new_sock);
- m_proxyManager.addDataForDescriptor(new_sock, std::move(message));
- return true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement