Chapter 21. Networking Commands

Networking Tools (Outside of FMSLogo)
NETSTARTUP
NETSHUTDOWN
NETACCEPTON
NETACCEPTOFF
NETACCEPTRECEIVEVALUE
NETACCEPTSENDVALUE
NETCONNECTON
NETCONNECTOFF
NETCONNECTSENDVALUE
NETCONNECTRECEIVEVALUE

Networking allows FMSLogo to communicate with the rest of the world. FMSLogo uses TCP/IP sockets, the same technology upon which the Internet is built. So if you have an Internet connection, then your friend can be in England, you can be in Canada, and you can use FMSLogo to draw on each other's screen or build games that you play together.

FMSLogo can send data to and receive data from instances of FMSLogo which are running on other computers. The NETCONNECT family of commands is used to initiate connections to other computers. The NETACCEPT family of commands is used to accept connections from other computers. You can have at most two connections, the one you initiated and the one you accepted. You can send and receive data on either type of connection.


SourceForge.net Logo