Thank you very much for you reply!
2017-05-22 12:50 GMT+03:00 Lukas Gebauer <gebyl...@mlp.cz>:
> > What could mean getting an 10054 "Connection reset by peer" error on
> > executing RecvPacket of TUDPBlockSocket?
>
> On a UDP-datagram socket this error indicates a previous send
> operation resulted in an ICMP Port Unreachable message.
>
> At least Winsock doing this, try to Google "UDP 10054" for more
> descriptions.
>
> > s := FServerSock.RecvPacket(10);
>
> BTW: this function is not designed for too small timeout.
>
What should be the timeout value and if it is comparable with the one
second, then how to use TUDPBlockSocket to make the thread quick respond to
other operations, for example termination?
>
>
>
> --
> Lukas Gebauer.
>
> http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.
> http://geoget.ararat.cz/ - Geocaching solution
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> synalist-public mailing list
> synalist-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/synalist-public
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public