<div>Exactly,it's a tutorial application. Then i will have to do something to get thing work correctly. I will try to show the user the pad though the pad its not added to the frame data</div>
<div>Thanks anyway jejej and sorry for all this posts<br><br> </div>
<div><span class="gmail_quote">2006/7/31, Guy Harris <<a href="mailto:guy@alum.mit.edu">guy@alum.mit.edu</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Eduardo Escudero Sánchez wrote:<br>> Sorry if i havent explained me well. The application i'm developing must
<br>> show the user how the mac sublayer operates.<br><br>In other words, it's a tutorial application, to show, for example, a<br>student how network protocols work, rather than a regular protocol<br>implementation?<br>
<br>> You can pass it data and<br>> you will see how this artificial MAC sublayer constructs a mac frame<br>> with the data you have passed to it. Then , once the frame is built ,<br>> this entity would send the built frame using tha
packet.dll API. I<br>> expected the API to deliver my packet as i have set up it. This means<br>> that if i build a frme with two mac addrsses, a length /type field and<br>> data and some pad i expected to receive in the other instance of my
<br>> application, which is running in the destination machine, exactly the<br>> same bytes i sent. But i encountered the problem of the length /type<br>> field modification which i was talking about before.<br><br>
Unfortunately, the Windows driver for your network adapter (or perhaps<br>even common code in Windows for all Ethernet miniport drivers to use)<br>appears not to support that. If that's the case, there's nothing<br>WinPcap can do about it; it might be impossible to do, on Windows, what
<br>you're trying to do.<br><br>I.e., if your application is implementing the MAC sublayer, including<br>adding the padding, and trying to directly supply a packet to the driver<br>for the network adapter, and not have that driver (or any common NDIS
<br>code) modify the packet in any way, it might be impossible for it to do<br>so on Windows.<br>_______________________________________________<br>Winpcap-users mailing list<br><a href="mailto:Winpcap-users@winpcap.org">
Winpcap-users@winpcap.org</a><br><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br></blockquote></div><br>