Allow explicit UDP port option, confine ports to range 60000..61000
This commit is contained in:
@@ -28,8 +28,8 @@ using namespace std;
|
||||
|
||||
template <class MyState, class RemoteState>
|
||||
Transport<MyState, RemoteState>::Transport( MyState &initial_state, RemoteState &initial_remote,
|
||||
const char *desired_ip )
|
||||
: connection( desired_ip ),
|
||||
const char *desired_ip, const char *desired_port )
|
||||
: connection( desired_ip, desired_port ),
|
||||
sender( &connection, initial_state ),
|
||||
received_states( 1, TimestampedState<RemoteState>( timestamp(), 0, initial_remote ) ),
|
||||
last_receiver_state( initial_remote ),
|
||||
|
||||
Reference in New Issue
Block a user