Socket status

来自MudWiki

名称

   socket_status - display the status of each LPC socket

语法

   mixed *socket_status(void | int);

描述

   socket_status(int fd) returns an array with:
   . ret[0] = (int) fd
       . ret[1] = (string) state
       . ret[2] = (string) mode
       . ret[3] = (string) local address
       . ret[4] = (string) remote address
       . ret[5] = (object) owner
   socket_status() returns an array of arrays; one for each socket.