PERFORM CHECKLIST FOR NET CONNECTIONS This command will fill the checklist with the names of all the currently available connections on the machine.
Syntax
    PERFORM CHECKLIST FOR NET CONNECTIONS
Returns
This command does not return a value.
Description
There are usually four types of connections available to you including TCP/IP, IPX, Modem and Serial. TCP/IP is used to connect via an IP Address and is used for Internet games. IPX is used for playing net games over a Local Area Network (LAN). A Modem connection is a two player net game with a Dial player and a Receive player, played over a phone line. A Serial connection is a direct cable connecting two machines, and acts much like a Modem connection. The index of the checklist is also the connection number associated with the connection description obtained from this command. Use the CHECKLIST commands in the SYSTEM command set to read the checklist.
Example Code
    perform checklist for net connections

    cls

    print "CONNECTIONS (Can Occur In Any Order)"

    for c=1 to checklist quantity()

    print c;". ";checklist string$(c)

    next c

    SelectionIndex=0

    if checklist quantity()<>0

    while SelectionIndex<1 or SelectionIndex>checklist quantity()

    print  : input "Select A Number>";SelectionIndex

    endwhile

    set net connection SelectionIndex,( IP Address or PhoneNumber )

    endif
See also
MULTIPLAYER Commands Menu Index