Commit in reactos/drivers/lib/oskittcp/oskittcp on MAIN
interface.c+5-51.7 -> 1.8
sosend( ) will not process mbuf if you pass it a uio (according to arty)

reactos/drivers/lib/oskittcp/oskittcp
interface.c 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- interface.c	29 Aug 2004 20:04:42 -0000	1.7
+++ interface.c	20 Sep 2004 04:13:46 -0000	1.8
@@ -250,16 +250,16 @@
 int OskitTCPSend( void *socket, OSK_PCHAR Data, OSK_UINT Len, 
 		  OSK_UINT *OutLen, OSK_UINT flags ) {
     struct mbuf mb;
-    struct uio uio = { 0 };
+    /*struct uio uio = { 0 };*/
     int error = 0;
     OskitDumpBuffer( Data, Len );
-    uio.uio_resid = Len;
+    /*uio.uio_resid = Len;*/
     mb.m_data = Data;
     mb.m_len  = Len;
     mb.m_flags = M_EOR;
-    error = sosend( socket, NULL, &uio, (struct mbuf *)&mb, NULL, 0 );
-    printf("uio.uio_resid = %d\n", uio.uio_resid);
-    *OutLen = uio.uio_resid;
+    error = sosend( socket, NULL, NULL /*&uio*/, (struct mbuf *)&mb, NULL, 0 );
+    /*printf("uio.uio_resid = %d\n", uio.uio_resid);*/
+    *OutLen = Len /*uio.uio_resid*/;
     return error;
 }
 
CVSspam 0.2.8