#!mkcmd # $Id: socket.m,v 8.3 2004/12/15 22:20:18 ksb Exp $ # # The code that describes a socket on the command line (ksb) # host:service/proto. Even if you do not use the code to # connect/listen for sockets you should build an interface # that looks like this one. # require "util_socket.m" "socket.mh" "socket.mi" fd type "socket" "socket_generic" { key 2 init { "" # user fill in '"default.host:service/proto"' '"%qL"' '& u_SD%n' } before "%K/ef;" late update "%K/ef;" param "inet" help "specify network end point for communication" }