[plt-scheme] udp-connected?

From: Thomas Chust (chust at web.de)
Date: Mon May 17 18:31:14 EDT 2010

2010/5/18 Richard Cleis <rcleis at mac.com>:
> If udp-connect is attemped (to a remote computer) when the network is not
> 'plugged in', udp-connected? returns true anyway.  Is that the intended
> behavior?
> [...]

Hello,

UDP is a connectionless protocol and using udp-connect is a purely
local operation that does nothing more than set a default target for
packets sent through the socket. Consequently udp-connected? only
queries the socket whether it has such a default target set up or not.

Ciao,
Thomas


-- 
When C++ is your hammer, every problem looks like your thumb.


Posted on the users mailing list.