🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: cn.bbs.comp.winsock
1 messages
1 total messages Started by iceberg Fri, 07 Aug 1998 00:00
Re: ����ڳ����л�ȡ�����IP
#161
Author: iceberg
Date: Fri, 07 Aug 1998 00:00
28 lines
1712 bytes
Sorry,��ʵ����һ����ֱ�ӵĺ�����Ի�ñ�������֣�����
      
              int PASCAL FAR gethostname ( 

                                          char FAR * name,    
                                          int namelen         
                                          ); 


�� �� lbs (iceberg) �Ĵ������ᵽ: ��
: �� �� dsp (Juliet) �Ĵ������ᵽ: ��
: :     ~~~~~��Ԫ(sorry for the error spell)
: : ���⣺Remember: Tcp�ؼ���[internet] ҳ�ϣ����[active x]ҳ��
: new:
: �����ҵ�һ������Winsock API��ñ���IP�ķ�����
: Ҫ������'0.0.0.0'��IP��ַ���γ�IP byte code��
: Ȼ�����gethostbyaddr����õ���������֣���
: �ô����ֵ���gethostbyname�����ɵõ������IP.
: ��������delphiʵ�ֵ��㷨��Ϊ���ڳ���ʱ׼ȷ��
: ��λ���󣬰�����΢���ӵij��?����롣

--


   ң֪����ѩ��Ω�а�����...

�� ��Դ:���̺����� bbs.dlut.edu.cn��[FROM: 202.118.68.10]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads