Hi @ecosta
You won’t need the Ethernet or dhcp classes or code–that is all built-in with Spark. You will need TCPServer, which is doc’ed here along with all the other methods and classes:
http://docs.spark.io/firmware/#communication-tcpserver
You should also look at
for an example.