mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 03:33:56 +00:00
Add socket abstraction
This commit is contained in:
@@ -84,7 +84,13 @@ namespace test
|
||||
|
||||
utils::buffer_deserializer deserializer{serializer.get_buffer()};
|
||||
|
||||
windows_emulator new_emu{{.emulation_root = get_emulator_root(), .use_relative_time = true}};
|
||||
windows_emulator new_emu{
|
||||
{.emulation_root = get_emulator_root(), .use_relative_time = true},
|
||||
{
|
||||
.socket_factory = network::create_static_socket_factory(),
|
||||
},
|
||||
};
|
||||
|
||||
new_emu.log.disable_output(true);
|
||||
new_emu.deserialize(deserializer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user