Network IP Read ????
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by cor.
I think he must know the IP address of which he is connected to the Internet.
Using Windows 98 SE
Registered PB version : 3.40 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
I think he must know the IP address of which he is connected to the Internet.
Using Windows 98 SE
Registered PB version : 3.40 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
> I think he want's to find the IP address of the system his program is running on.
Oh... in that case, it's all in the manual. But try this for a start:
PB - Registered PureBasic Coder
> I think he want's to find the IP address of the system his program is running on.
Oh... in that case, it's all in the manual. But try this for a start:
Code: Select all
InitNetwork() : ExamineIPAddresses()
Debug IPString(NextIPAddress())
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Berikco.
Regards,
Berikco
http://www.benny.zeb.be
Originally posted by PB
I'd love to help but don't know what the hell you're saying.![]()
Regards,
Berikco
http://www.benny.zeb.be
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by AngelNox.
Hello PB !!!
Thanks for your Answare I have the IP from the LOCAL Network this is ok , I will have the Network IP Adress from the PPP Adapter for the Internet and now my Programm This is for the LOCAL Network LAN
InitNetwork()
ExamineIPAddresses()
IPAdresse = NextIPAddress()
String$ = IPString(IPAdresse)
MessageRequester("Deine IP-Adresse"," " +String$, 0)
I hope you can help me
Hello PB !!!
Thanks for your Answare I have the IP from the LOCAL Network this is ok , I will have the Network IP Adress from the PPP Adapter for the Internet and now my Programm This is for the LOCAL Network LAN
InitNetwork()
ExamineIPAddresses()
IPAdresse = NextIPAddress()
String$ = IPString(IPAdresse)
MessageRequester("Deine IP-Adresse"," " +String$, 0)
I hope you can help me
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Berikco.
Looks like you are German...
Maybe just ask question in your language, many German speaking ppl here.
Regards,
Berikco
http://www.benny.zeb.be
Hi AngelNox,Originally posted by AngelNox
MessageRequester("Deine IP-Adresse"," " +String$, 0)
Looks like you are German...
Maybe just ask question in your language, many German speaking ppl here.
Regards,
Berikco
http://www.benny.zeb.be
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Shawn.
or
Hope this helps.
Shawn
You must call NextIPAddress() again to iterate through the entire list of IP addresses.Originally posted by AngelNox
Hello PB !!!
Thanks for your Answare I have the IP from the LOCAL Network this is ok , I will have the Network IP Adress from the PPP Adapter for the Internet and now my Programm This is for the LOCAL Network LAN
InitNetwork()
ExamineIPAddresses()
IPAdresse = NextIPAddress()
String$ = IPString(IPAdresse)
MessageRequester("Deine IP-Adresse"," " +String$, 0)
I hope you can help me![]()
Code: Select all
InitNetwork()
ExamineIPAddresses()
NextIP.l = NextIPAddress()
While NextIP.l 0
MessageRequester("Next IP Address",IPString(NextIP.l), 0)
NextIP.l = NextIPAddress()
Wend
Code: Select all
InitNetwork()
ExamineIPAddresses()
IPAdresse = NextIPAddress()
String$ = IPString(IPAdresse)
MessageRequester("Deine IP-Adresse"," " +String$, 0)
IPAdresse = NextIPAddress()
String$ = IPString(IPAdresse)
MessageRequester("Deine IP-Adresse"," " +String$, 0)
Shawn
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Berikco.
Well, i'm not English or German.....could not understand what you where asking...sorry
Regards,
Berikco
http://www.benny.zeb.be
Well, i'm not English or German.....could not understand what you where asking...sorry
Regards,
Berikco
http://www.benny.zeb.be