Show
Ignore:
Timestamp:
12/13/07 06:23:05 (13 months ago)
Author:
follower
Message:

Add initial skeleton for EchoServer? class. (Not yet used.)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/follower/wiz810mj/src/demo/WizDemo4/WizDemo4.pde

    r115 r116  
    405405// NetworkInterface Network = NetworkInterface(...); // TODO: Make this a global 
    406406 
     407/* ----------------------- */ 
     408 
     409 
     410/* ----- EchoServer ------ */ 
     411 
     412class EchoServer { 
     413   
     414  public: 
     415    EchoServer(int port); 
     416     
     417  private: 
     418    NetworkConnection _connection; // TODO: Make public? 
     419}; 
     420 
     421EchoServer::EchoServer(int port) : _connection (NetworkConnection(port)) { 
     422  /* 
     423   
     424   */ 
     425} 
     426   
     427   
    407428/* ----------------------- */ 
    408429