efuns - interactive - resolve

MudOS v21c2

resolve(3)�� MudOS v21c2�� (5 Sep 1994)

������:
    �� resolve() - ת��һ��������·��ַ (internat address) Ϊ�������� (domain name), ��֮��Ȼ..
���﷨:
    �� int resolve( string address, string callback_func );

    �� ���� resolve( �ַ��� address, �ַ��� callback_func );

���÷�:
    �� resolve() ��ת���� "140.128.136.11" ��ʽ�� address�� ��Ϊ "bbs.csmc.edu.tw" ������ʽ����������. ���ǰ� "bbs.csmc.edu.tw" ������ʽ�� address�� ת���� "140.128.136.11"�� ��ʽ�ĵ�ַ. ת���ɹ���, �����Ŀǰ����� callback_func. callback_func �ĸ�ʽΪ:

    �� void callback(string address, string resolved, int key);

    �� �޷���ֵ callback( �ַ��� address, �ַ��� resolved, ���� key );

    �� key �� resolve() �ķ���ֵ. address ��ת����ĵ�ַ������. ���ת��ʧ��, ��᷵�� 0.

���ο�: ������:
    �� Spock @ FF 97.Jun.2.�� (printed 3/16/95)

�ص���һҳ