chiark / gitweb /
changelog: finalise 1.3.5
[chiark-tcl.git] / dgram / dgram.tct
index 1d461ddaa91ea0be5e06bcfdf737056e501f6e14..938d0a3bf9a8f3f67a5dd8530cb92ce66480300e 100644 (file)
@@ -12,9 +12,7 @@
 # General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# along with this library; if not, see <http://www.gnu.org/licenses/>.
 
 
 Type sockaddr:                 SockAddr_Value @
@@ -34,6 +32,9 @@ Table dgramsocket DgramSocket_SubCommand
                sock    iddata(&cht_dgram_socks)
                data    hb
                remote  sockaddr
+       sockname
+               sock    iddata(&cht_dgram_socks)
+               =>      sockaddr
        on-receive
                sock    iddata(&cht_dgram_socks)
                ?script obj