Adjusted UDP port ids for multiple UE connection with proxy

This commit is contained in:
Deokseong "David" Kim
2021-06-16 16:06:38 -07:00
committed by Melissa
parent 777bcc6c37
commit 591e0e1f36
7 changed files with 34 additions and 17 deletions
+2 -2
View File
@@ -421,8 +421,8 @@ void init_UE_stub_single_thread(int nb_inst,
void init_UE_standalone_thread(int ue_idx)
{
const char *standalone_addr = "127.0.0.1"; // these two lines go into init
int standalone_tx_port = 3211 + ue_idx*2;
int standalone_rx_port = 3212 + ue_idx*2;
int standalone_tx_port = 3211 + ue_idx * 2;
int standalone_rx_port = 3212 + ue_idx * 2;
ue_init_standalone_socket(standalone_addr, standalone_tx_port, standalone_rx_port);
pthread_t thread;