IP in DirectPlay

BlitzPlus Forums/BlitzPlus Programming/IP in DirectPlay

Moore(Posted 2006) [#1]
Ok, Im using direct play. What would be the best way for the server to get the players' IP addresses?

ID = createnetplayer(name$)
IP = getPlayerIP(ID)

function getPlayerIP(ID)
; fill in the blank
return IP
end function


Junkprogger(Posted 2006) [#2]
mh you can use "CountHostIps()"...

But why are you using DP ? TCP/UDP is better...


puki(Posted 2006) [#3]
"junkprogger" is starting to interest me.


plash(Posted 2006) [#4]
Interest you? :)


Junkprogger(Posted 2006) [#5]
Why you're interested in me (is this right ? language i mean...) ??
P.S.: i'm programming Blitz3D since... 2 ore more years ;)

and currently i'm learning Blitzmax :D


plash(Posted 2006) [#6]
Failure to understand puki's post?

Anywho.. the BlitzPlus section isn't very populated; you will get faster responses to most things if you post in something like the Blitz3D section (DirectPlay is in all the first gen Blitz languages, you know).


Junkprogger(Posted 2006) [#7]
ah now i understood :D

.... tcp or udp is cooler ^^