indy10要怎么使用完成端口?

解决方案 »

  1.   

    没用过~~~大连接数用indy不是上上之选
      

  2.   

    indy用好了也不错的,indy10支持完成端口和纤程,性能有了巨大提升
    不能什么都想着自己写
    我就是想问问谁用了说一下
      

  3.   

    目前的项目要使用IOCP,是自己用SOCKET写的
    indy10只是据说支持,没看见官方有说明
      

  4.   

    我看了indy10得源代码,确实有了完成端口的函数调用,但是运用的时候不知道怎么才能真正实用indy10的完成端口
      

  5.   

    另外,官方确实声明了indy10是支持完成端口和纤程的,就在官方文档里
      

  6.   

    你既然都看源码就应该知道怎么用了吧!delphi最大的好处就在于可以知道它是怎么来地....
    嘿嘿
      

  7.   

    Support for the Windows Fiber and IOCP APIs
    Indy 10 provides experimental support for the Fiber and I/O Completion Ports API in the Windows platforms. This support is designed to aid in creating more scalable servers where thousands of simultaneous client connections are required. For small- and medium-sized projects, the traditional thread-based servers are still available.
    Fiber and IOCP APIs are supported only for the Windows 2000, 2003, and XP operating systems using Delphi version 7. Windows 95, 98, and ME are not supported. Delphi compilers prior to version 7 are also unsupported due to critical changes in the VCL since those releases.