3 registered members (Ayumi, Akow, AndrewAMD),
1,505
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
inet connection
#243574
12/30/08 20:43
12/30/08 20:43
|
Joined: Aug 2008
Posts: 153 Germany,Stuttgart
kwpsp
OP
Member
|
OP
Member
Joined: Aug 2008
Posts: 153
Germany,Stuttgart
|
Hey guys, I'm using A6. I have a panel for offline and online. And now I want to test the internet connection.
And then only a function if(inet_connection==1) { mypanel.visible=on; }
My system: - Core 2 Quad 6600(4x 2,4GhZ) - 2GB Ram - GeForce 7050(:-)) - Windows seven
|
|
|
Re: inet connection
[Re: kwpsp]
#243590
12/30/08 21:22
12/30/08 21:22
|
Joined: Aug 2008
Posts: 153 Germany,Stuttgart
kwpsp
OP
Member
|
OP
Member
Joined: Aug 2008
Posts: 153
Germany,Stuttgart
|
I found the gshttp, but acknex.exe makes a crash after closing my programm my code:
function net() { // Create the HTTP Client if (HTTP_Create(0)==0) { // Set the data to be posted to PostString PostString="a=b b=c d=e"; // HTTP Post the URL with the PostString data HTTP_Post(0,"http://www.yahoo.com/",PostString); // Wait until the HTTP POST is complete while(HTTP_IsWorking(0)==1) { wait(16); } // Initialize ResultString. Make sure you have enough characters for your result. ResultString=" ";
// Put the results in ResultString. HTTP_Results(0,ResultString); // Show the results shown(); HTTP_Free(0); } }
My system: - Core 2 Quad 6600(4x 2,4GhZ) - 2GB Ram - GeForce 7050(:-)) - Windows seven
|
|
|
Re: inet connection
[Re: kwpsp]
#243591
12/30/08 21:27
12/30/08 21:27
|
Joined: Aug 2008
Posts: 153 Germany,Stuttgart
kwpsp
OP
Member
|
OP
Member
Joined: Aug 2008
Posts: 153
Germany,Stuttgart
|
ok sry I solved my problem, this plugin is normally for A5.5 but when you delete these 3 things // Initialize ResultString. Make sure you have enough characters for your result. ResultString=" ";
// Put the results in ResultString. HTTP_Results(0,ResultString);
HTTP_Free(0);
then it works fine lol three posts in a thread by me kwpsp
My system: - Core 2 Quad 6600(4x 2,4GhZ) - 2GB Ram - GeForce 7050(:-)) - Windows seven
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|