git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel/vfs - Return matched flags from VFS_SelectNode
[tpg/acess2.git]
/
Tools
/
NetTest
/
tcpserver.c
diff --git
a/Tools/NetTest/tcpserver.c
b/Tools/NetTest/tcpserver.c
index
e5ebdc9
..
5e4aa72
100644
(file)
--- a/
Tools/NetTest/tcpserver.c
+++ b/
Tools/NetTest/tcpserver.c
@@
-86,7
+86,7
@@
void NetTest_TCPServer_HandleSelect(tNetTest_TCPServer *Srv, const fd_set *rfds,
if( FD_ISSET(client->FD, rfds) )
{
// RX'd data on client
if( FD_ISSET(client->FD, rfds) )
{
// RX'd data on client
- // TODO:
Do something other than echo back
+ // TODO:
Cache until '.' is seen, and send all data before+incl that character
char buf[1024];
size_t len = VFS_Read(client->FD, sizeof(buf), buf);
Debug_HexDump("TCP Srv Rx", buf, len);
char buf[1024];
size_t len = VFS_Read(client->FD, sizeof(buf), buf);
Debug_HexDump("TCP Srv Rx", buf, len);
UCC
git Repository :: git.ucc.asn.au