Hi Mark,
I overlooked that, you are completely right, recreateServerSocket is fine then.
Best regards
Christoph
> -Original Message-
> From: Mark Sheppard [mailto:mark.shepp...@oracle.com]
> Sent: Donnerstag, 7. September 2017 13:07
> To: Langer, Christoph ;
Hi Christoph,
looking at the logic of the test, it is seen that a "server socket"
is created in the execute method, and is then closed,
and a bunch of datagrams sent to it. Then in the serverSend method an
attempt is made to (re-)create a DatagramSocket using the
same port as the original
Hi Felix,
this looks good in general.
I would, however, suggest to rename the method 'recreateServerSocket' into '
createServerSocket' as the former name suggests that something which existed
once was recreated. But in this case the socket is simply created with a few
retries when exceptions