Click here to Skip to main content
15,915,703 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I want to insert a new line between subjects in a CString variable. Pin
ElizabethC1-Apr-03 10:50
ElizabethC1-Apr-03 10:50 
GeneralRe: I want to insert a new line between subjects in a CString variable. Pin
Nick Parker1-Apr-03 11:29
protectorNick Parker1-Apr-03 11:29 
Generalstatic text formatting Pin
RalfPeter1-Apr-03 8:05
RalfPeter1-Apr-03 8:05 
GeneralRe: static text formatting Pin
Chris Losinger1-Apr-03 8:14
professionalChris Losinger1-Apr-03 8:14 
GeneralMFC + ATL Pin
Anonymous1-Apr-03 7:52
Anonymous1-Apr-03 7:52 
GeneralHeader control in ListView Pin
rosen1-Apr-03 7:33
rosen1-Apr-03 7:33 
Generalexplorer bar Pin
mweiss1-Apr-03 7:14
mweiss1-Apr-03 7:14 
Generalwinpcap problem Pin
summo1-Apr-03 6:41
summo1-Apr-03 6:41 
I am trying to set the fields of the packet which I am sending using winpcap But I am unable to set the true fields of ethernet packet using winpcap.
These fields are

pcap_data[0]...........pcap_data[5] //ethernet destination address
pcap_data[6]...........pcap_data[11] //ethernet source address

I am setting in these fields with the Mac of source and destination like
1 pcap_data[0]=00;
2 pcap_data[1]=50;
3 pcap_data[0]=8D;

But line 3 is giving errors I do not know exactly what to fill I s it Hexadecimal or binary or anything else

Please help me with certain example that may be sending packet or help me in solving the problem.




Reply me soon
GeneralVideo Conference App Pin
extremalis1-Apr-03 6:38
extremalis1-Apr-03 6:38 
GeneralRe: Video Conference App Pin
Anonymous10-Apr-03 21:51
Anonymous10-Apr-03 21:51 
GeneralRe: Video Conference App Pin
extremalis14-Apr-03 3:39
extremalis14-Apr-03 3:39 
GeneralResizing Pin
User 98851-Apr-03 6:22
User 98851-Apr-03 6:22 
Generalcalling a DLL in VC++ Pin
Yank11-Apr-03 6:07
Yank11-Apr-03 6:07 
GeneralRe: calling a DLL in VC++ Pin
geo_m1-Apr-03 7:49
geo_m1-Apr-03 7:49 
GeneralRe: calling a DLL in VC++ Pin
Anonymous1-Apr-03 8:05
Anonymous1-Apr-03 8:05 
GeneralRe: calling a DLL in VC++ Pin
geo_m1-Apr-03 9:19
geo_m1-Apr-03 9:19 
QuestionEnumerating SCSI devices? Pin
dandy721-Apr-03 4:51
dandy721-Apr-03 4:51 
AnswerRe: Enumerating SCSI devices? Pin
FoxholeWilly28-Feb-07 8:56
FoxholeWilly28-Feb-07 8:56 
GeneralCombo Box Owner Drawn Pin
Anthony98871-Apr-03 4:43
Anthony98871-Apr-03 4:43 
GeneralRe: Combo Box Owner Drawn Pin
Dave Bryant1-Apr-03 9:15
Dave Bryant1-Apr-03 9:15 
GeneralRe: Combo Box Owner Drawn Pin
Anthony98872-Apr-03 3:56
Anthony98872-Apr-03 3:56 
GeneralStill trying to SetFocus() Pin
ns1-Apr-03 4:08
ns1-Apr-03 4:08 
QuestionHow to Disable F1 pass to CXXApp in pop up dialog? Pin
cadinfo1-Apr-03 3:51
cadinfo1-Apr-03 3:51 
GeneralAnother Design question/comment Pin
Maximilien1-Apr-03 2:52
Maximilien1-Apr-03 2:52 
GeneralRe: Another Design question/comment Pin
Dave Bryant1-Apr-03 9:13
Dave Bryant1-Apr-03 9:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.