On Friday 29 January 2016 01:18:07 hyuna jo wrote: > The purpose of TCP connection is to communicate between the client and > discovered server after the discovery. The client has to know the TCP port > number of the server before communicating. but there is no way how to know > port number because TCP doesn't support multicast message. so we suggest > the usage UDP multicast message for discovery resource and port number. In > this case, discovery response payload will be carried by UDP. > After receiving the discovery response, the client use TCP connection to > communicate with the server. Therefore, server doesn't store a TCP port > number for the client which doesn't communiate with the server.
Then, as I said in my other email, the response to the UDP multicast query should be an UDP unicast reply containing the multiple addresses that the client can communicate on. Obviously the UDP port that sent the multicast query in the first place is implied. The server chooses when it wishes to communicate on TCP. That can be "never". -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
