Skip to content

Commit 03f29f8

Browse files
committed
unified sockets (1): server
1 parent bfbad44 commit 03f29f8

File tree

10 files changed

+493
-345
lines changed

10 files changed

+493
-345
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

alvr/packets/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ pub enum ClientConnectionResult {
113113
ConnectionAccepted {
114114
client_protocol_id: u64,
115115
display_name: String,
116-
server_ip: IpAddr,
116+
server_ip: IpAddr, // must be unused for now
117117
streaming_capabilities: Option<VideoStreamingCapabilitiesLegacy>, // todo: use String
118118
},
119119
ClientStandby,

alvr/server_core/src/c_api.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -551,13 +551,6 @@ pub unsafe extern "C" fn alvr_duration_until_next_vsync(out_ns: *mut u64) -> boo
551551
}
552552
}
553553

554-
#[no_mangle]
555-
pub unsafe extern "C" fn alvr_restart() {
556-
if let Some(context) = SERVER_CORE_CONTEXT.write().take() {
557-
context.restart();
558-
}
559-
}
560-
561554
#[no_mangle]
562555
pub unsafe extern "C" fn alvr_shutdown() {
563556
SERVER_CORE_CONTEXT.write().take();

0 commit comments

Comments
 (0)