Creating TCP Server in Spark

Hello I am trying to create a TCP server in core. I write this programme

When I trying to verify it gives an error.

can anyone tell me what kind of error is this?

There was some refactoring a while back and the Network class was merge into the WiFi class, so all of those should be updated to WiFi. instead of Network.

If this example came from a library, the library author will have to update it.

Is there any other way by which I can create TCP server in my spark

You just need to edit this example slightly to make it work–not a big deal at all.

If you want a more canned solution, check out to webduino library in the IDE. Click the icon on the left side lower group, one down from the top to see the libraries that folks have contributed.