zentol commented on PR #22471: URL: https://github.com/apache/flink/pull/22471#issuecomment-1520160111
I should've posted a longer sample. We keep the datagram socket open until after the request was made. The client uses TCP (as it should), but because no TCP server runs on the port it can't connect to anything. The UDP socket only ensures no other process binds to that port in the mean time. In contrast, when you use a server socket and leave it open the client would at least run through TCP handshakes and stuff, but layer fail on the application layer with a different error. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org