Is there anyway of find out what an IP number is from
AcceptTCPStream. Also have can you find out your computers current IP number's.
Basicaly I am creating an server and I want to know what IP the connections to server are coming from.
I don't know the answer, but I think it's a shame that you posted it in the BlitzPLUS forum, and most of the guys in the know are probably in the Blitz3D forum.
You can only hope that they take a peek over here and (and here's the real kicker...) OWN BLITZPLUS SO THAT THEY CAN RESPOND TO YOUR QUESTION.
How sad...
I dont mind, I have both BPlus and B3D
; First call CountHostIPs (blank infers the local machine)
n = CountHostIPs("")
; n now contains the total number of known host machines.
; Obtain the internal id for the IP address
ip = HostIP(1)
; Convert it to human readable IP address
ipaddress$ = DottedIP$(ip)
Print "Dotted IP Test"
Print "=============="
Print ""
Print "Internal Host IP ID:" + ip
Print "Dotted IP Address:" + ipaddress$
Print ""
Print "Press any key to continue"
WaitKey()
End
Well if you wanna know youre computers ip for the moment just to run tests and see if everything is in order do as follows:
Run cmd from windws, DOS or cmd will appear, write ping localhost and there you go. If you have a router you'll se the ip that the router gives you (youre LAN ip)
Otherwise if you have a ICQ-account and Trillian installed on youre computer add your selfe in contactlist and Trillian will show youre online IP.
Thats just for the testing part as i said before, dont know if its any help. Im sure theres sites on the net wich can track youre IP aswell.