[DiscordArchive] the rpc server requests the client?
[DiscordArchive] the rpc server requests the client?
Archived author: JORGIE • Posted: 2021-03-03T09:20:26.869000+00:00
Original source
the rpc server requests the client?
Archived author: MaxtorCoder • Posted: 2021-03-03T09:20:44.469000+00:00
Original source
... no it requests a packet FROM the client...
Archived author: ZaDarkSide • Posted: 2021-03-03T09:29:40.777000+00:00
Original source
<:trollface:687041695115771924>
Archived author: ZaDarkSide • Posted: 2021-03-03T09:31:56.140000+00:00
Original source
blizzard is just trolling you <@!692446209595408518>
Archived author: ZaDarkSide • Posted: 2021-03-03T09:32:43.671000+00:00
Original source
they put the client on the server, and the server on the client
Archived author: JORGIE • Posted: 2021-03-03T09:44:31.757000+00:00
Original source
they make the client as a server and the server as a client this I never see.
Archived author: JORGIE • Posted: 2021-03-03T09:44:45.310000+00:00
Original source
Archived author: JORGIE • Posted: 2021-03-03T09:46:20.381000+00:00
Original source
```cpp
void ConnectionService::Connect(::bgs::protocol::connection::v1::ConnectRequest const* request, std::function<void(::bgs::protocol::connection::v1::ConnectResponse const*)> responseCallback, bool client /*= false*/, bool server /*= false*/) {
TC_LOG_DEBUG("service.protobuf", "%s Server called client method ConnectionService.Connect(bgs.protocol.connection.v1.ConnectRequest{ %s })",
GetCallerInfo().c_str(), request->ShortDebugString().c_str());
std::function<void(MessageBuffer)> callback = [responseCallback](MessageBuffer buffer) -> void {
::bgs::protocol::connection::v1::ConnectResponse response;
if (response.ParseFromArray(buffer.GetReadPointer(), buffer.GetActiveSize()))
responseCallback(&response);
};
SendRequest(service_hash_, 1 | (client ? 0x40000000 : 0) | (server ? 0x80000000 : 0), request, std::move(callback));
}
```
Archived author: MaxtorCoder • Posted: 2021-03-03T09:47:11.794000+00:00
Original source
He is trolling you, don't even listen to him.
Archived author: ZaDarkSide • Posted: 2021-03-03T09:47:26.115000+00:00
Original source
i'm a troll