Network Communications in the TiOS Simulator

As any other Tibbo BASIC/C-programmable product offered by Tibbo, the TiOS Simulator presents itself on the TCP/IP network as a two-faceted entity:

This topic explains the proper configuration, requirements, and limitations of the TiOS Simulator with respect to its networking capabilities.


WinPcap

There are two choices for how the TiOS Simulator taps into network traffic. This is defined by the Use WinPcap checkbox found in the TiOS Simulator's main menu, under Simulator > Settings.

A screenshot of the TiOS Simulator's Settings dialog.

If the checkbox is unchecked, the TiOS Simulator opens a single Windows socket to accept debug commands on UDP port 65535. The net. object and sock. object are not able to work in this case.

If the checkbox is checked, the TiOS Simulator taps into your PC's Ethernet traffic using the WinPcap driver. Notice that the correct Ethernet interface must be selected for this to work. This should be the Ethernet interface through which the "Simulator's" PC is connected to the network. You MUST have this PC connected to the network via the Ethernet interface. Using other interfaces, such as Wi-Fi, will prevent the TiOS Simulator from being able to communicate on the network.


A warning note icon.If the checkbox appears disabled, this means that the WinPcap driver is not present on your system. In this case, run the TIDE and/or TiOS Simulator installer and, when prompted for WinPCap installation, choose to install it.


Implications of Checking or Unchecking the Checkbox

With the checkbox unchecked:


* "The same LAN segment" means that there are only hubs and switches, and no routers or bridges, in between the two PCs. In this particular case, it doesn't matter how your PCs are connected to the LAN. Both Wi-Fi and Ethernet connections will work.


With the checkbox checked:


Network Communications in the TiOS Simulator

WinPcap

Implications of Checking or Unchecking the Checkbox