mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-01-30 12:35:35 +02:00
[cdc_stream] Use ephemeral ports (#100)
Instead of running netstat/ss on local and remote systems, just bind with port 0 to find an ephemeral port. This is much more robust, simpler and a bit faster. Since the remote port is only known after running cdc_fuse_fs, port forwarding has to be set up after running cdc_fuse_fs.
This commit is contained in:
@@ -9,8 +9,10 @@ cc_binary(
|
||||
":cdc_fuse_fs_lib",
|
||||
":constants",
|
||||
"//absl_helper:jedec_size_flag",
|
||||
"//common:client_socket",
|
||||
"//common:gamelet_component",
|
||||
"//common:log",
|
||||
"//common:server_socket",
|
||||
"//data_store:data_provider",
|
||||
"//data_store:disk_data_store",
|
||||
"//data_store:grpc_reader",
|
||||
|
||||
Reference in New Issue
Block a user