* Acess2 IP Stack
* - TCP Handling
*/
-#define DEBUG 1
+#define DEBUG 0
#include "ipstack.h"
#include "ipv4.h"
#include "ipv6.h"
#define TCP_DACK_THRESHOLD 4096
#define TCP_DACK_TIMEOUT 100
-#define TCP_DEBUG 1 // Set to non-0 to enable TCP packet logging
+#define TCP_DEBUG 0 // Set to non-0 to enable TCP packet logging
// === PROTOTYPES ===
void TCP_Initialise(void);
};
tVFS_NodeType gTCP_ClientNodeType = {
.TypeName = "TCP Client/Connection",
+ .Flags = VFS_NODETYPEFLAG_STREAM,
.Read = TCP_Client_Read,
.Write = TCP_Client_Write,
.IOCtl = TCP_Client_IOCtl,
conn->LastACKSequence = ntohl( Header->SequenceNumber );
conn->Node.ImplInt = Server->NextID ++;
+ conn->Node.Size = -1;
// Hmm... Theoretically, this lock will never have to wait,
// as the interface is locked to the watching thread, and this
conn->LocalPort = -1;
conn->RemotePort = -1;
+ conn->Node.Size = -1;
conn->Node.ReferenceCount = 1;
conn->Node.ImplPtr = conn;
conn->Node.NumACLs = 1;