WZ IOCP and Windows SDK Samples

Results 1 to 10 of 10
  1. #1
    Proficient Member Young is offline
    MemberRank
    Jul 2005 Join Date
    BrazilLocation
    190Posts

    WZ IOCP and Windows SDK Samples

    I'm currently working in IOCP scenario, so I decided to look over WZ IOCP functions. Works well, some code mistakes, but nothing really bad. The funny part is that I decide to check it out the IOCP samples from Windows SDK. After couple lines I have felt a strange "Déjà vu"...





    Usage of WSDK Samples isn't ugly, but forgot to remove the unreferenced bAddToList arg from UpdateCompletionPort function ? :rofl:


  2. #2
    NN - Nord & Noob mauka is offline
    MemberRank
    Jul 2004 Join Date
    1,728Posts

    Re: WZ IOCP and Windows SDK Samples

    i cant understand, why need try create a new bike. U got sample and and if dont need nothing more then it is, edit it, add shit to it and job done ;)

    Start make money selling wcoins :D

  3. #3
    Proficient Member Young is offline
    MemberRank
    Jul 2005 Join Date
    BrazilLocation
    190Posts

    Re: WZ IOCP and Windows SDK Samples

    Quote Originally Posted by mauka View Post
    i cant understand, why need try create a new bike. U got sample and and if dont need nothing more then it is, edit it, add shit to it and job done ;)

    Start make money selling wcoins :D
    Who says that I'm trying to create a new bike ? This is just to show that WZ uses WSDK samples... nothing more !

    :closed_2:

  4. #4
    Everything is a joke. duracel is offline
    MemberRank
    Sep 2005 Join Date
    442Posts

    Re: WZ IOCP and Windows SDK Samples

    Btw Young, in that .65 source you have also dataserver src? :)
    Last edited by [RCZ]ShadowKing; 21-02-12 at 01:46 PM.

  5. #5
    Valued Member Marin_scp is offline
    MemberRank
    Mar 2006 Join Date
    Inside EAXLocation
    103Posts

    Re: WZ IOCP and Windows SDK Samples

    WebZen IOCP works pretty fine, it's nice to study ^^

    I plan on making my own online game someday in the future, and I'll obviously go on IOCP communication, it's pretty efficient and C++ is by far the best programming languagem (if we exclude ASM, wich is not for normal humans! kkkkkkkk) to achieve good performance.

    And yes, WebZen IOCP is a copy-paste from Windows SDK samples kkkkkkkk.

    The object (on ObjectStruct) Socket Management is ugly, just to meet the same WinSDK usage, anyway, works fine. ^^

  6. #6
    Proficient Member Young is offline
    MemberRank
    Jul 2005 Join Date
    BrazilLocation
    190Posts

    Re: WZ IOCP and Windows SDK Samples

    Quote Originally Posted by duracel View Post
    Btw Young, in that .65 source you have also dataserver src? :)
    Unfortunately no =/

  7. #7
    NN - Nord & Noob mauka is offline
    MemberRank
    Jul 2004 Join Date
    1,728Posts

    Re: WZ IOCP and Windows SDK Samples

    i never checked IOCP, but its must be own thread for each client.
    Nothing hard ^_^ BlurCode made a L2 emulator in Delphi and IOCP made with Indy ^_^ from 0 :) thats the skill power

  8. #8
    Proficient Member Young is offline
    MemberRank
    Jul 2005 Join Date
    BrazilLocation
    190Posts

    Re: WZ IOCP and Windows SDK Samples

    Quote Originally Posted by mauka View Post
    i never checked IOCP, but its must be own thread for each client.
    Nothing hard ^_^ BlurCode made a L2 emulator in Delphi and IOCP made with Indy ^_^ from 0 :) thats the skill power
    IOCP isn't easy to implement. Needs advanced knowledge of sockets and multithreading. Also need handle exceptions, resend undelivered packets and reordering messed up packets.

    Ps.: Compare Delphi (HiLevel) with C (LowLevel) is something that you never should do.

  9. #9
    TitansTech / SCFMT bet0x is offline
    MemberRank
    Mar 2004 Join Date
    /dev/nullLocation
    840Posts

    Re: WZ IOCP and Windows SDK Samples

    I will recommend Boost, is the best library ever.

  10. #10
    NN - Nord & Noob mauka is offline
    MemberRank
    Jul 2004 Join Date
    1,728Posts

    Re: WZ IOCP and Windows SDK Samples

    Even worst either best lib can be a totaly shit and very good ;) all depend on developer ;) if u dont understand code u are fucked anyway

    Learn, learn, learn and again learn :)



Advertisement