int netTotal,netSel,t;
dbPerformChecklistForNetConnections ();
dbSleep(100);
netTotal=dbChecklistQuantity();
for(t=1;t<=netTotal;t++) {
if (!strcmp(dbChecklistString(t),"Internet TCP/IP Connection For DirectPlay")) {
netSel=t;
dbPrint(dbChecklistString(t));
}
}
dbSetNetConnection(netSel);
the following code prompts me to enter the ip or computer name to host the session as intended, however it seems to be whatever ip or computer name I put in it breaks my internet e.g cannot use any internet services, however I can still access websites and load new pages if I am viewing that website when I set the connection. Also on a side note why do I need to use not in my if statement to work?
Many Thanks
John