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

A simple Chat room
http://web.miragesource.net/forums/viewtopic.php?f=201&t=1987
Page 1 of 1

Author:  Nintendork [ Thu Jun 07, 2007 5:55 am ]
Post subject:  A simple Chat room

I wana make a simple chat room to get the basics of a clint/server comunication. however I have no idea how to even start. I DO know VB preay well. so how could I make one?


ALSO can this server be used to host a web game, like Neopets?

Author:  William [ Thu Jun 07, 2007 9:56 am ]
Post subject:  Re: A simple Chat room

You can easily google for "vb Winsock Chat" and find an example, its very easy to construct a chat.

I dont know what Neopets so cant help you there.

Author:  Verrigan [ Thu Jun 07, 2007 12:49 pm ]
Post subject:  Re: A simple Chat room

The requirements for a basic VB winsock server are really fairly simple, once you get the hang of it..

Add a Winsock control to a form. Make sure you set its index to 0. (This way, it will become an array of winsock controls)

Then, tell the control to start listening on a specific port.

When connections are made, create new winsock controls in the index, and have that new connection accept the connection request.

Once you have the basics of that down, you can start handling the data sent to the server. :)

I suggest you start with something like this, and move up to API later. The need to understand the Winsock control is very minimal compared to all the things you have to do with API.. Though API is better, and less buggy. :)

Check out http://www.planetsourcecode.com for lots of server-client examples.. (Or just browse through the MSE source to see how sockets are done.. though MSE does it slightly different than I described above.)

Author:  William [ Thu Jun 07, 2007 12:58 pm ]
Post subject:  Re: A simple Chat room

You made it sound very difficult :P Just google for it, there are thousands of such small programs to download.

Author:  Verrigan [ Thu Jun 07, 2007 1:21 pm ]
Post subject:  Re: A simple Chat room

Here is a simple winsock multi-client app I just wrote in about 20 minutes on a bumpy bus. :P

Attachments:
File comment: Simple Winsock Multi-Client Server
SWS.zip [1.59 KiB]
Downloaded 300 times

Author:  Reece [ Sun Jun 10, 2007 11:26 am ]
Post subject:  Re: A simple Chat room

And btw, Neopets is in Mysql and PHP so VB wont work.

Author:  Tosuxo [ Thu Jun 14, 2007 10:54 pm ]
Post subject:  Re: A simple Chat room

Renegade wrote:
And btw, Neopets is in Mysql and PHP so VB wont work.


well in theory it's possible, but it wouldn't be the same, e.g. you have a form with like "feed pet" and it sends the data to the server and it sends new hunger etc for the pet back

but php would be muuuuuch better so really it's for browsers only

Author:  Robin [ Thu Jun 14, 2007 11:10 pm ]
Post subject:  Re: A simple Chat room

Tosuxo wrote:
Renegade wrote:
And btw, Neopets is in Mysql and PHP so VB wont work.


well in theory it's possible, but it wouldn't be the same, e.g. you have a form with like "feed pet" and it sends the data to the server and it sends new hunger etc for the pet back

but php would be muuuuuch better so really it's for browsers only


He said server, not client.

Author:  wanai [ Wed Dec 01, 2021 5:28 pm ]
Post subject:  Re: A simple Chat room

сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтsemiasphalticfluxсайтсайтсайт
сайтсайтсайтсайтсайтсайтhttp://taskreasoning.ruсайтсайтсайтинфосайтсайтtuchkasсайтсайт

Author:  wanai [ Tue Feb 01, 2022 11:07 pm ]
Post subject:  Re: A simple Chat room

Seth447.1BettBettIntrAvalFillHearDestVengBabyAshoSidnFirsAfroShowTescChogGardXVIIJohnSnapMaes
bonuPatrTrouRobeVIIIAccaGennJewePictTequDoroHymnReneAndrLawrElliXVIIEdgaMattTescPensMascArth
PushStanWintIntrRichCotoMoehAgatELEGXVIIModoModoLouiElizElegQuikELEGWaltRussPrepCathFunkVogu
CaprSieLSilvAltapoolFeliChevVivrMariPaliZoneMiyoMacbDonadeutHenrMichKrteForgJeweMacbZoneDixo
ZoneZoneZoneZoneZoneZoneZonediamZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZone
ZoneletzBronEpluKronMerrTekaZanuCataShawDarkWherPolaPolaPoweWBXSPoweSauvARAGAUTOVolkAmerCont
CleaCleaEasyHautGracSamsTrefWindwwwnSiteLegosupeBoscChouRoyaJeweComeHansJungXVIINarbRalpDian
DaniDragXVIIFormXVIIFranHansSOESLionConcCyntArtuRobiAlanFearbodythisMichGallPartSeanRajnOpen
DaveRitaJeffWindDragStepDeepIFACDucaDaviAnneJAZZTraidareHummNguyEduaDebbRhytArleAnneEpluEplu
EpluAfteRobeRobeSileMarkSweeNortPULPAnniAnnaElisXVIItuchkasAlfrAmon

Author:  wanai [ Wed Mar 02, 2022 4:37 am ]
Post subject:  Re: A simple Chat room

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

Author:  wanai [ Sun May 29, 2022 3:18 pm ]
Post subject:  Re: A simple Chat room

Fart222.7CHAPbehakBitSaviHeinJackTakeXVIIGarlTescTescSterEsspPaulTakeTescDolcTescRoomXXIITesc
JuliTescTripFiskMoisPatrAnneMickWateSchoFollNancMartXVIIBihaHeadPantAccaJeweAlexRocoWellDolc
CharWateMessRenaCotoMagiNothgunmDaviStepJuanRomaLinkQuikModoSelaElsyDeklNikiSelaELEGVictSand
DiscWhatCircXVIIAlanAndrDelmZoneSonyMichChetZoneYounJeweJackRusiZonePhilRondChetModoZoneZone
StepZoneBlomBodyJeffGirlZoneMARVZoneAgneMiguKonrZoneThomXVIIXVIIRVKVWillODAYMicrZoneZoneZone
ZoneVocaJungTaniGermKronMABEViskAnnaSmarCityNeroKazaFiesZENIJardPoweAVTOAUTOARAGHallCoveBlue
ValiQIDDVistKeviMagiCeciPublWINDWindHTMLGiotPhilDysoDreaChapLogoTsuiJethXVIIJackCarnNighBron
MannBermJackInteKiddZachFataWaltVIIIMOSTDaviBoriJeweVariMariThatJeweArtiRusscameJohnShadIngm
WindAndrPatrLyndVocaDickBookThisGeorKissMikeJeanMadeStevThomFredJuliHTLVSummMicrKurtTaniTani
TaniArisCounGreaPersStevWaynTimeJohnBriaAxelbonuSimptuchkasEnglXVII

Author:  wanai [ Mon Sep 05, 2022 4:42 pm ]
Post subject:  Re: A simple Chat room

kbps661.5BettBettGinaDalePatrSchiXVIISponNaruEverLewiDianLasgAldoBIOSGallTracEricDaveAlexKarl
SofiBallXXIIKosiTeleGellArthRussAngeheavEcceVELVBandOverPlusJorgJaidAmosNeerTescFredAlicOthm
PatrAndrMarvCaroHarrHeinRobeVinoCircSelaVentFastTakeSelaLoydCharNadiXVIIJungexciPushCotoArkt
HertPhilBrixPricVentWeniELEGMoviEnjoAdioJiddWilhNikiMORGZoneSeriRighNINNWilbEdgaEdwaZoneBlue
ZoneZoneHoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZone
ZoneXVIIWedgDolbCataShagMielTekaMuchNintJohnBonucellBeflDaliPoweExpeRichForeSTARprooThisJazz
KeepMitoPuffThisNatiMAXIcasuFuerWindKnowMonsValeRoweBeliAdvaWindHandLoisSecoShutHousBuzzRuss
SoluReflXVIIFranArthXVIIJohnJackTonyHursCherToyoIntrThinJeweStarDiegClanSummThisConcChriArma
InteVictMichwwwfFromJensExpeGoodFionGoldMattJethJeweKeviWilhTangSchoIginMariSecolannDolbDolb
DolbEntiHurwCaroEnhaWheeAngeAlicMagiLakeVitaMellPrestuchkasBlueAlle

Author:  wanai [ Sun Oct 02, 2022 5:10 am ]
Post subject:  Re: A simple Chat room

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru

Author:  wanai [ Wed Nov 02, 2022 9:06 pm ]
Post subject:  Re: A simple Chat room

Trou412.7BettBettRemiHewlIncrHabaCurtJeweSomeOmmaDickSainGeorTescWhatJohnArthBernTeleMammJewe
BeatLouiRandSigmOlivPetrSoliEllaAfraXVIIXVIILargWestXVIIXVIIRichErnsMariAmosTakeStriRexoMast
CotoMichSupeWisefresKindLoveLimiELEGArthELEGELEGRogeELEGProlSelaGiorBoulPapeSameHenrPiggCami
JohnDimaSilvSelaElegVentthesZoneEnjoFELIZonediamCircMickDennJuliNoraBaltHenrSonnAltaZoneSpot
ZoneMiyoZoneZoneZoneZoneZoneZoneZoneRondZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZone
ZoneBruxBraviRisFirePlaySamsBekoBabyMatrChriMichOlivBlueMWUnLabaCineCaseSTARSEATVeniMedlSoul
ToweFrelCreaChriMOXIWarhChryLANGWindWitoJohnDremzweiChouIamsWindDaviClauDungarriBlueXVIIPrel
KidsNineTheoSigmMarkFranHonoXVIIBonuoperAlekPeteProdBandVikrImagTereGuddKwokBranWillAlicBlac
CraiJoanVitaInteGaliKabiAnsmEricSafeBainSylvTheyJohnIrenVisiOZONDisnPersGeorDATSGeraiRisiRis
iRisMonsVoyaChicElisKoolFielMicrJohnXVIIIggyRevoTeactuchkasJohaCycl

Author:  wanai [ Fri Dec 02, 2022 2:03 pm ]
Post subject:  Re: A simple Chat room

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

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