🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

FD_CLOSE֮��

#26
From: ����
Date: Mon, 10 Nov 2003 02:05
21 lines
1542 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.zju.edu.cn��[FROM: glichok]
Technical Details
Message-ID: <49D08F$19k@bbs.zju.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!ZJUBBS

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 109ae0,577a62dbc1bac9de,start
X-Google-Attributes: gid109ae0,public
X-Google-ArrivalTime: 2003-11-09 18:11:16 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!ZJUBBS
From: glichok.bbs@bbs.zju.edu.cn (����)
Newsgroups: cn.bbs.comp.unix.development.network
Subject: FD_CLOSE֮��
Date: 10 Nov 2003 02:05:20 GMT
Organization: �㽭��ѧ���ɰٴ�
Message-ID: <49D08F$19k@bbs.zju.edu.cn>
X-Filename: UNP/M.1068429711.A