diff options
| author | auth12 <[email protected]> | 2020-07-19 11:46:24 -0700 |
|---|---|---|
| committer | auth12 <[email protected]> | 2020-07-19 11:46:24 -0700 |
| commit | a4117f05f70fc20a05dc6b454db77447a0c8300b (patch) | |
| tree | f8eab7a7bae237ad697feecfae26b17bab91b16e /server/src/main.cpp | |
| parent | Added asmjit. (diff) | |
| parent | More placeholders and general plan. (diff) | |
| download | loader-a4117f05f70fc20a05dc6b454db77447a0c8300b.tar.xz loader-a4117f05f70fc20a05dc6b454db77447a0c8300b.zip | |
Merge branch 'master' into windows
Diffstat (limited to 'server/src/main.cpp')
| -rw-r--r-- | server/src/main.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/server/src/main.cpp b/server/src/main.cpp index 6350179..df3f6e8 100644 --- a/server/src/main.cpp +++ b/server/src/main.cpp @@ -169,6 +169,20 @@ int main(int argc, char* argv[]) { } } + if (id == tcp::packet_id::game_select) { + // select image + // set message to be pe header + // stream imports + // wait for client to send back a packet with allocation base and fixed imports + } + + if (id == tcp::packet_id::image) { + // message contains allocation base + // fixed imports are streamed back/save them in a folder to see if anything went wrong + // stream back the fixed image + // set client status or just drop them + } + client.write(tcp::packet_t(message, tcp::packet_type::write, session)); }); |