🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.unix.development.network
Article #25

fd_close���

#25
From: ����
Date: Mon, 10 Nov 2003 02:08
20 lines
1568 bytes
if (NetWorkEvents.lNetworkEvents & FD_CLOSE ) {
    if (NetWorkEvents.iErrorCode[FD_CLOSE_BIT]!=0) {
        printf("FD_CLOSE error!
              error_code=%d,error_message=%s\n",WSAGetLastError(
                            ),gai_strerror(WSAGetLastError()));
        WSACleanup();
        exit(0);
    }
    closesocket(AcceptSocket);//��1��
    WSACloseEvent(MyEvent); //��2��
    CompressArrays(Socket, Event, &EventTotal);
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        �������ʲô�ģ�Ϊʲôֱ��ʹ�ã�1����2��֮��Ҫʹ�������
        �ú������Զ���ģ����dz����ṩ�ģ��кι��ܣ�
        ��̴�Ϻ��
        } 

--

�� ��Դ:��BBS ˮľ�廪վ smth.org��[FROM: 210.32.0.10]
Technical Details
Message-ID: <000000$Tuo@smth.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!elnk-pas-nf1!elnk-nf2-pas!newsfeed.earthlink.net!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!SMTH

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,GB
X-Google-Thread: 109ae0,f0ea6f5c7becfec1,start
X-Google-Attributes: gid109ae0,public
X-Google-ArrivalTime: 2003-11-09 18:10:02 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!elnk-pas-nf1!elnk-nf2-pas!newsfeed.earthlink.net!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!SMTH
From: glichok@smth.org (����)
Newsgroups: cn.bbs.comp.unix.development.network
Subject: fd_close���
Date: 10 Nov 2003 02:08:48 GMT
Organization: BBS ˮľ�廪վ
Message-ID: <000000$Tuo@smth.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: NetPRG/f/M.1068430121.80