H> Hi all,
H> I have no idea about how to send a "http get" to an http server using
H> winpcap,
H> I have try the step by step guide,
H> it seem that winpcap is able to capture packets and save to a file,
H> send the file (packet captured) to a server,

H> But what I want is to generate a packet and send to a server.
H> What function should I use?


H> And is there more sample for me, I am new to network programming.

H> Thanks.

Well, you'll have to create a buffer and construct in it whole stack
of packets based on protocols from Ethernet to HTTP. It would be
better if you find some docs on TCP/IP protocols stack.

it would be something like

+---------------+
|ETHERNET LAYER |
+---------------+
|IP             |
+---------------+
|TCP            |
+---------------+
|HTTP           |
+---------------+

good luck!
and
best regards,
 impulse9
/Andrew Fedyashov/



==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==================================================================

Reply via email to