Mhh...strange.
'host
Graphics(1024,768,0,75)
HostUDP(8080)
While Not KeyDown(Key_Escape)
UpdateTNet()
Flip
Cls
Delay 20
FlushMem
Wend
'------------------------------
'Client
Graphics(1024,768,0,75)
JoinUDP("82.135.71.240",8080)
While Not KeyDown(Key_Escape)
DrawText "Testest",50,50
Flip
Cls
Delay 20
FlushMem
Wend
I am running 1 client and 1 host at one PC.
Sometimes the client gets ID 2 which is okay.
Sometimes host debug message says something like player joined..ID2, player joined...ID3, player joined..ID4 etc.
Why that?
'host
Graphics(1024,768,0,75)
HostUDP(8080)
While Not KeyDown(Key_Escape)
UpdateTNet()
Flip
Cls
Delay 20
FlushMem
Wend
'------------------------------
'Client
Graphics(1024,768,0,75)
JoinUDP("82.135.71.240",8080)
While Not KeyDown(Key_Escape)
DrawText "Testest",50,50
Flip
Cls
Delay 20
FlushMem
Wend
I am running 1 client and 1 host at one PC.
Sometimes the client gets ID 2 which is okay.
Sometimes host debug message says something like player joined..ID2, player joined...ID3, player joined..ID4 etc.
Why that?