Changeset 107 for branches/follower/wiz810mj/src/demo
- Timestamp:
- 12/11/07 03:07:38 (13 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/follower/wiz810mj/src/demo/WizDemo4/WizDemo4.pde
r106 r107 227 227 228 228 void listen(); // TODO: Return a useful value? 229 230 229 int isConnected(); 230 byte read(); 231 231 void NetworkConnection::close(); 232 232 … … 249 249 */ 250 250 ::listen(_socket); // TODO: Use C++ namespaces for the driver functions? 251 } 252 253 byte NetworkConnection::read() { 254 /* 255 256 Note: This blocks until a byte is available. 257 258 */ 259 uint8_t theByte; 260 recv(_socket, &theByte, 1); 261 return theByte; 251 262 } 252 263