最近想做一个,可又不知如何下手
所以想找一个
在网上找了很多,但好像只能运行,有时还能登陆成功,但不能下载,也不显示文件列表。有的压根儿不好用。所以想麻烦在座的各位帮一下,要能运行正确,能下载东西的。
谢谢

解决方案 »

  1.   

    msdn的sample下面就有。具体位置不记得了。
      

  2.   

    源码我有啊
    要就联系我
    [email protected]
      

  3.   

    int logonseq[NUMLOGIN][100] = {
    // this array stores all of the logon sequences for the various firewalls 
    // in blocks of 3 nums. 1st num is command to send, 2nd num is next point in logon sequence array
    // if 200 series response is rec'd from server as the result of the command, 3rd num is next
    // point in logon sequence if 300 series rec'd
    {0,LO,3, 1,LO,6, 2,LO,ER}, // no firewall
    {3,6,3, 4,6,ER, 5,ER,9, 0,LO,12, 1,LO,15, 2,LO,ER}, // SITE hostname
    {3,6,3, 4,6,ER, 6,LO,9, 1,LO,12, 2,LO,ER}, // USER after logon
    {7,3,3, 0,LO,6, 1,LO,9, 2,LO,ER}, //proxy OPEN
    {3,6,3, 4,6,ER, 0,LO,9, 1,LO,12, 2,LO,ER}, // Transparent
    {6,LO,3, 1,LO,6, 2,LO,ER}, // USER with no logon
    {8,6,3, 4,6,ER, 0,LO,9, 1,LO,12, 2,LO,ER}, //USER fireID@remotehost
    {9,ER,3, 1,LO,6, 2,LO,ER}, //USER remoteID@remotehost fireID
    {10,LO,3, 11,LO,6, 2,LO,ER} // USER remoteID@fireID@remotehost
    };
    在网上和书上看到很多这段程序,说是针对不同防火墙的登陆序列,我查了很多书,不太明白数组里的数字是怎么得到的.在程序运行的时候是怎么运作的
    还望高人指点
    谢谢
      

  4.   

    上面那段程序是<<Visual C++网络通信协议分析与应用实现>> 人民邮电出版社上的
    哪位知道的,请教一下,急啊.