Forum Replies Created
-
AuthorPosts
-
I am using NDISAPI via the dll so i guess i cant do anything about it. Thanks for your quick reply.
I figured out my mistake. I wasn’t looping the ReadPackets Function and the internal buffer was filling up.
Does anyone have a C# example for this?
Sorry. How should I populate the _INTERMEDIATE_BUFFER for sending the packet to the adapter?
This is what I tried originally,
CopyMemory(recv_buf\m_IBuffer, send_buf\m_IBuffer, recv_buf\m_Length)
send_buf\m_Length = recv_buf\m_Length
send_buf\m_Flags = #NDIS_PACKET_TYPE_PROMISCUOUS
SendPacketToAdapter(val\filter, val\send_pkt)
Hi thanks for the quick reply. I have found where the problem is but I am not sure what to do. When I copy the received packet ready for sending to the adapter, I am doing something wrong with the size. I tried fixing the the amount I copy to 1540 bytes just to see if something changed and it did. I can ping and get an ip everytime but bandwidth is low. I am sure now that i am not calculation the length for the packet send
-
AuthorPosts
