Echo server with Mathematica

Consider the following scenario:

  • only two wireless notebooks communicating via ad hoc mode
  • one computer (the client) send packets via TCP protocol without Mathematica
  • the other one is an echo server

In this scenario, is it possible to do the echo server with Mathematica?