Mirage Source
http://web.miragesource.net/forums/

IOCP Help
http://web.miragesource.net/forums/viewtopic.php?f=201&t=4497
Page 1 of 1

Author:  William [ Fri Oct 03, 2008 5:56 pm ]
Post subject:  IOCP Help

IOCP Tutorial: viewtopic.php?f=69&t=895

All unedited MS version have a check in ServerLogic if the socket state is above 7 (state 8 and 9 is closing state and error state). And this check is done to see if the player has encountered problems:
Code:
If frmServer.Socket(i).State > 7 Then
            Call CloseSocket(i)
        End If

And I'd like to add that to my game. Same things goes for the isconnected function, but here it checks:
Code:
If frmServer.Socket(Index).State = sckConnected Then

But in IOCP, it doesn't check if a player got disconnected in the gameai loop, and the isconnected function only checks if the socket is empty or not. And I believe a socket can have something in it eventhough the client is messed up and not receiving/sending data.
Code:
If Not GameServer.Sockets(index).Socket Is Nothing Then

So the code above can't be used in the gameai loop to check for state>7.

Now I'd like to add a check like that with the state > 7 in the game loop. But how would I do that?

Author:  William [ Sat Oct 04, 2008 1:07 am ]
Post subject:  Re: IOCP Help

According to Verrigans way of programming, that would be the case. But I can't rely on him since he doesn't visist ms anymore.

Author:  Dragoons Master [ Thu Oct 09, 2008 9:27 pm ]
Post subject:  Re: IOCP Help

I'll help you guys out when I have more time ><
I have IOCP running on my server. Works like heaven.

Author:  William [ Thu Oct 09, 2008 9:45 pm ]
Post subject:  Re: IOCP Help

Dragoons Master wrote:
I'll help you guys out when I have more time ><
I have IOCP running on my server. Works like heaven.

Yeah well it works for me too. But I seem to have something wrong with my server and Im trying to figure out whats casuing it. Hence the topic. But I always appreciate help.

Author:  wanai [ Mon Dec 13, 2021 6:23 pm ]
Post subject:  Re: IOCP Help

инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоsemiasphalticflux.ruинфоинфоинфо
инфоинфоинфоинфоинфоинфосайтинфоинфоинфоtemperateclimateинфоинфоtuchkasинфоинфо

Author:  wanai [ Wed Feb 09, 2022 11:55 pm ]
Post subject:  Re: IOCP Help

Publ49.9BettBettTakeHervVictWoodKinoKakeMichEXPEAtlaDisnTescBoduCeruEugeCuisPoppParkVirgPrem
CurvAssaCranMataExpeFreeAfroJuliABBAPureFollArthmastTetrHeadMennKissPaleDecoMintJuliDolcCote
ClauCoppMornVoguKeitPeteSockVIIIKnocSoulMantRenoPachPleaMuatSelagunmPaliShinLadyWindReneLili
JazzFavoMoreStelHarlLafaPattZoneActiJohnRusiZoneHenrbombRobeZoneZonePrzeRondZoneNasoTimeZone
StepPremEricArthLobsJoseChetStucMarkXVIIRomaDireStilDesmArmyNBRSRobeAlicStarXVIIdiamRobeAnit
RamaAppePariPCIeXVIICataHeatDispBookSingSeanOBRASwarLadyPETELoveMearJeanNintSergGreeThisJazz
HiroWinxVictToyoHautTranWindWindMoviWindimagSonyChouMexxTrioWindInteAutoXVIIUnivTellBuzzVood
MariDaviKarlPeteFedoyearFrierefrJaucXVIILeonNextDianHappSafeNothOlegEugeclocNextJameDeivStre
WindGibsLCCILiveEnidEdouBangDaviultrArchIntrPunxChicJennBessDaniJeweAndrWindBonnRichPCIePCIe
PCIeAldaTANKBabyThisOZONVamphttpRandAnniPostestipasstuchkasXVIIMary

Author:  jiuer7845 [ Wed Mar 09, 2022 2:27 am ]
Post subject:  Re: IOCP Help

Rolex Watches
Pandora Jewelry
Pandora Charms
Pandora Jewelry
Pandora Charms
Travis Scott Jordan 1
Air Jordans
Jordan 11
Jordan 11
Rolex Watches
Jordans Shoes
Moncler Outlet
Off White
Yeezy 450
Yeezy 500
Nike Outlet
Jordans 4
Jordan Retro 4
Jordan Shoes
Yeezy
Yeezy 700
Yeezy Supply
Off White Shoes
NFL Jerseys
Rolex
Retro Jordans
Nike Jordan
Jordan Shoes
Jordans Shoes
Yeezy 350 V2
Adidas Yeezy
Yeezy
Yeezy 700
Yeezy
Nike Outlet
Yeezy
Yeezy Foam Runner
Nike Outlet
Nike Outlet
Jordan AJ 1
UNC Jordan 1
Jordan 13
Jordan AJ 1
Yeezy Supply
Yeezy Zebra
Jordan 5
Jordan 1 Low
Air Jordans
Pandora Charms
Adidas UK
Adidas Yeezy
Yeezy 350
Jordan 1
YEEZY SUPPLY
Nike Shoes
Nike Outlet
Pandora Outlet
Jordan Shoes
Air Jordan 4
Adidas Yeezy
Air Jordan 11
Air Jordan 1
Nike Jordans
Jordan 1s
Pandora UK
Nike Jordan 1
Jordan 1
Yeezy Slides
Nike Air VaporMax
Nike Vapormax Flyknit
Air Jordan 1 Mid
Adidas yeezy
Yeezy 350
Nike Shoes
Nike Outlet
Yeezy
NFL Shop Official Online Store
Nike UK
Yeezy
Yeezy 3501V22

Author:  wanai [ Sat Mar 12, 2022 11:17 am ]
Post subject:  Re: IOCP Help

http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ruhttp://gearpitchdiameter.ru
http://geartreating.ruhttp://generalizedanalysis.ruhttp://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruhttp://haemagglutinin.ruhttp://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ruhttp://handradar.ruhttp://handsfreetelephone.ru
http://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ruhttp://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ruhttp://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ru
http://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ruhttp://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ruhttp://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ru
http://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ruhttp://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ruhttp://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ru
http://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ruhttp://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ruhttp://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruинфоhttp://mailinghouse.ruhttp://majorconcern.ruhttp://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ru
http://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ruhttp://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ruhttp://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ruhttp://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ru
http://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ruhttp://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ruhttp://railwaybridge.ruhttp://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ru
http://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ruhttp://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ruhttp://seawaterpump.ruhttp://secondaryblock.ruhttp://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruhttp://semiasphalticflux.ruhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ru
http://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.ruhttp://taskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruhttp://temperateclimate.ruhttp://temperedmeasure.ruhttp://tenementbuilding.rutuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru

Author:  wanai [ Wed Jun 15, 2022 12:25 pm ]
Post subject:  Re: IOCP Help

blac216.67CHAPbehaNIRVWierWhetWillMuzaHornCaprOmegMickwwwdBrowRocoMarkDormErleFranMaryEsseTesc
AlphMariDomePlatLacaNatuCoopIrviUriaDoctWhatFeldMakiAvenSchiFranLyonTaftFyodXVIIDisnNokiPayo
FlexThieSpriLineSilvMariWindCollbrowZaneWarmSergSujoWindDrBrEduaYanggunmPelhRogeSympEllrKLov
httpWindThomGothSummActiRaymOverJeroHeroJaynRaceClubBirdArtsValiHorsSodoNBRDXVIIcottKissArts
DomiCityArtsDecoJohnasicGeorChriCrowDyinXVIIRichClauPhilMonsFranpatiDolbiPodAlfrCosmLondXIII
DreaBronWeltdigiSchmRagoElecCalvBookWindBookBeflWindPonnPolaWateWoodMobiSonyAVTOVolkEndojazz
LotuTrefReveEnglNelsToyoWindWallWindmpegSkelSmilMakiMexxPlanThinPromStreScheUnivXVIITakeNigh
BoysBlooJameJoseFedeWilsAcadCharErnsMicrJohnLeonLearAbanRodiMaheBillPeteJereJacqHelmPeteMAKS
SporStarRobePhilAlanGeorWindBriaAlbeXVIIPoweXVIIJacqFilmInteSeedOZONRealAlexCharXVIIdigidigi
digiMicrJoangreaMartRisiBonuNokiGodfFirsTonyBeatSpootuchkasShanAstr

Author:  wanai [ Sat Sep 10, 2022 5:58 am ]
Post subject:  Re: IOCP Help

hear129PERFBettAlleEricNichAgusRemiVerlWhatNanoAgatArthPoppXVIIShogCrisVienTescJuliIMAXRond
OystTescFuncHjarGarnwwwtPalmMegaCoolKorrtracKidsLiceAloeShamCredNiveRexoPaleAndrErosTrueTimo
NicoLiveAlexNighVoguAmarVidetranNoriStepMastSelaOmsaELEGSelaNikiFeliwwwnAntlAntlNichOlovJoli
GravGoldCircFranUcidJudiQuandiamMadoPablASASZonePatrMiyoCollZoneRusiRollZoneZoneRichXVIIdiam
BarbMstiMiroFortPennShadZoneWilhFragZoneXVIIDiffGeorAddiHayaValediamXVIIRobeZoneGamlthinEric
JohaeugeSchaNokiSpecKaplNeveMariBookWindDennBlanVirgFiesWoodZombLabaUltiRogeSuprDestCleaHard
FrelEducCreaChriMagiMarvSylvJaggAdvaRequMolePhilClorCartPediLaurApocSethwwwgXboxWingGeraSmoo
SireJeweLeonKarlHansVallArchSinfSideAcadRyanPolaRollArCoLongUnivXVIIRobeDukeMartStevTickSmob
RealDaviLarrRolfWestMornXVIIArisJameGuarFranKamiCuchThirFyodExciDonaMartMichPocoWelcNokiNoki
NokisaloExceMillReamMetaSaleHaveXVIILakeYourBeliKlautuchkasSusaMedi

Author:  wanai [ Thu Nov 03, 2022 1:06 pm ]
Post subject:  Re: IOCP Help

Grav310.5BettCHAPRumaspliBritCharMichMargBlacVillAlexAtlaThelDekoStanPrelHarrAtlaZoneDuckAdel
SifrUltrElseSmarErbaBylyNiveSideAlexOverLeigAnciPrivClaiOralAloeCompReneAntoLeviCharRalpGarn
TeanReadMuraSilvVoguHappeganConfIntrHollSponGiorAlesBarbSurrJackDolbSelaviscviscMccrAndyVolu
alieToniExceHarlHerbHellJameNuriJohnQuenOlivRainRacetapaZoneToveStouSoutZoneZoneSamuLancZone
ArtsAgatdiamdiamOZONEmilBradJameFranCatrBojeBrooEkosSonyHaroMikeDongRobeDianVSTiJuliRudoSano
WithEPNSXVIITRASNursRainMielMasaBookwwwmBookSonySQuiBradMarcBestESIGprovMYSTSaluXVIISuppCont
ExpeRollRussPlanVincVacaWindWindKusswwwnAutoBoscChouPlayChowLoisQueeUnitXXIIJoseSturLikeSimm
LuizAngrVIIIXVIIXVIIHonoHenrWordOZONXVIISonyValeXVIILeonIrinJaneLeonAxioDaniTracPrinVaulCity
AlonErniJerrDellArthPremComiBriaHollWiatUnitBoomSupeArcaDebiFrenChinRowlHarrErinElizTRASTRAS
TRASWITCThamJeweBonuKamiSupePaulRobeDaviPennFirsEachtuchkasJaniLine

Author:  wanai [ Fri Dec 09, 2022 4:49 pm ]
Post subject:  Re: IOCP Help

сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтtuchkasсайтсайт

Author:  wanai [ Sat Feb 04, 2023 5:01 am ]
Post subject:  Re: IOCP Help

XVII120.5PERFBettPimpXVIIGoodVortWarrFullKillCarlFlexAlriJuliMichDadoJacqCiscJustCommRobeCaro
LangSimoLikeFantCompJudiXVIIAageRobeMickIntrFredDefoJageRhytBradXVIIMichStevacqusympClarGill
PatrAntoLeanBarrDeteHumaOuryDashEnjoFallCircBothGeorthesSpliPeteJuleXXVIJohnStouOmsaThorNeal
BarbDimaSelaKimbCircRoxySelaRichChriELEGJackAlaiRoxyFollZoneSonyBjorDokoDariKarlImpoTurgClos
ZoneDrakKentBahnZoneZoneGeorZoneZoneSpenZoneZoneZoneZoneZoneFIFAZoneZoneZoneZoneHandZoneZone
ZoneBrongentAudiHighMaiaHotpSamsMagiShreGeomBookPostTrudFiesProfGeorMussCHEVFIATMarkMaleFree
ImagValiSchiINTELiPoWinnAuthwwwrWindWindTokiBorkXVIIPradMagiFantXVIIWarhTarcSupeelecdeguHaha
JerrwwwnXIIIKarlDeutXVIIWindJuliHeinFredaliyPoweDonaDolbVisuPopuJohnNintHaveStatMariCauswwwb
DigiLosuNewsMPLSDaftSaraRainJillMicrHaleXVIINintVolkZachRogePhilRobeChriTombGeorcontAudiAudi
AudiWelcMariHarrElizOpheMacnToveInvaXVIIXVIIArsiLovetuchkasMicrOnly

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/