[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] UDP netværk



On Wed, 4 Jul 2001, Elias Naur wrote:

> Hej igen
> 
> Angående UDP som protokol til spilnetværk, hvad er der så af betragtninger
> man skal være opmærksom på? Der er vel problemet i at sørge for at holde
> sine pakker inden for MTU størrelsen, men hvad er det helt præcist man gør
> for rent faktisk at få "garanterede" pakker igennem UDP netværket, så de
> optager mindst muligt båndbredde? Kan man emulere TCP på nogen måde - altså
> er ACK i TCP en pakke?

Jeg tror det er normalt at implementere en "sikker" transport oven på UDP,
og så bruge den, hvis man har noget kommunikation der _skal_ igennem,
f.eks. at spillet slutter. Du kan tage et kig på quakeforge, på
sourceforge, der har kode til den slags i deres netværk (skrevet af John
Carmack, kan sikkert laves lidt lækrere).

> 
> Og så til sidst - hvad er det for noget med at fortælle linket at man har
> fået svar fra "den anden side" (nævnt i man siden til ip) ved et specielt
> kald når man bruger bla. UDP? Skal man bare huske at man har fået svar fra
> den anden maskine, og angive dette i næste send()?

Øhm, det ? forstår jeg ikke helt.

Mads

-- 
Mads Bondo Dydensborg.                               sslug@sslug
  7)  Sacrifice a small animal for Good Luck

 (step 7 of 8 in configuring the Open Source Global File System for Linux)



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:08 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *