bigloo.socket.close C# (CSharp) Method

close() public method

public close ( ) : Object
return Object
        public virtual Object close()
        {
            if (!closed)
              {
            closed= true;
            if (input is input_port)
              ((input_port)input).close();
            if (output is output_port)
              ((output_port)output).close();
              }
              return bigloo.foreign.BUNSPEC;
        }

Usage Example

示例#1
0
 public static Object socket_close( socket s )
 {
     return s.close();
 }