Is it correct to bind UDP and TCP sockets to the same address and handle them simultaneously?
I am trying to bind both UDP and TCP sockets to the same IP address and port, and then handle both types of connections. I have implemented the following code:
Is it correct to bind UDP and TCP sockets to the same address and handle them simultaneously?
I am trying to bind both UDP and TCP sockets to the same IP address and port, and then handle both types of connections. I have implemented the following code:
Is it correct to bind UDP and TCP sockets to the same address and handle them simultaneously?
I am trying to bind both UDP and TCP sockets to the same IP address and port, and then handle both types of connections. I have implemented the following code: