Click here to Skip to main content
15,892,927 members
Home / Discussions / C#
   

C#

 
AnswerRe: Where to insert the code Pin
RedhaDev15-Apr-06 8:40
RedhaDev15-Apr-06 8:40 
QuestionSystem.Diagnostics.Debug on a Release run. Pin
Rafferty Uy14-Apr-06 10:20
Rafferty Uy14-Apr-06 10:20 
AnswerRe: System.Diagnostics.Debug on a Release run. Pin
leppie14-Apr-06 11:18
leppie14-Apr-06 11:18 
GeneralRe: System.Diagnostics.Debug on a Release run. Pin
Rafferty Uy14-Apr-06 12:31
Rafferty Uy14-Apr-06 12:31 
QuestionQuestion about DllImport Pin
Zultan14-Apr-06 9:59
Zultan14-Apr-06 9:59 
AnswerRe: Question about DllImport Pin
Corinna John14-Apr-06 11:10
Corinna John14-Apr-06 11:10 
GeneralRe: Question about DllImport Pin
Zultan18-Apr-06 9:06
Zultan18-Apr-06 9:06 
QuestionRaw IP Packet Pin
Dave k.a. DPA14-Apr-06 9:39
Dave k.a. DPA14-Apr-06 9:39 
Hi ppl,

I am trying to send a raw IP datagram, and I am having a problem with the insertion of the IP header.

Ideally I would like to send a datagram with my own header, because I would like to have a varying Protocol Field. However when sending the datagram I am forced to use the socket.Connect method because the .send requires an address, and this creates an IP header with an unmanagable Protocol Type Field.

For example the only way to put a TCP value (6) in the Protocol Field is to use

socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.TCP);

and this creates a TCP header, which I dont want because I have my own header with different data already.

(btw i used ethereal to monitor the packets)

so....

If anyone could please suggest a way to either

modify the protocol type field, without creating any extra TCP or UDP headers..
(I have used setsocket options without success...)

or a way of sending the whole datagram including the IP header


10ks a lot guys
QuestionAdding a subscript to a dynamic image Pin
asifmaniar14-Apr-06 9:32
asifmaniar14-Apr-06 9:32 
QuestionPoker Peeker Pin
IceWater4214-Apr-06 9:08
IceWater4214-Apr-06 9:08 
QuestionMaster-Detail relation update problem Pin
Bobby88714-Apr-06 6:04
Bobby88714-Apr-06 6:04 
Question'Virtual' printer driver possible? Pin
pjvander14-Apr-06 5:45
pjvander14-Apr-06 5:45 
AnswerRe: 'Virtual' printer driver possible? Pin
Judah Gabriel Himango14-Apr-06 6:54
sponsorJudah Gabriel Himango14-Apr-06 6:54 
GeneralRe: 'Virtual' printer driver possible? Pin
pjvander14-Apr-06 8:14
pjvander14-Apr-06 8:14 
QuestionwebBrowser1 (.NET 2) .Navigate from Form2 Pin
codah2314-Apr-06 4:23
codah2314-Apr-06 4:23 
AnswerRe: webBrowser1 (.NET 2) .Navigate from Form2 Pin
Judah Gabriel Himango14-Apr-06 6:51
sponsorJudah Gabriel Himango14-Apr-06 6:51 
GeneralRe: webBrowser1 (.NET 2) .Navigate from Form2 Pin
codah2314-Apr-06 8:15
codah2314-Apr-06 8:15 
GeneralRe: webBrowser1 (.NET 2) .Navigate from Form2 Pin
Judah Gabriel Himango14-Apr-06 8:29
sponsorJudah Gabriel Himango14-Apr-06 8:29 
GeneralRe: webBrowser1 (.NET 2) .Navigate from Form2 Pin
codah2314-Apr-06 9:29
codah2314-Apr-06 9:29 
Questionvery hard to find... Pin
KORCARI14-Apr-06 2:39
KORCARI14-Apr-06 2:39 
Questionhotmail account Pin
TAREQ F ABUZUHRI14-Apr-06 2:05
TAREQ F ABUZUHRI14-Apr-06 2:05 
AnswerRe: hotmail account Pin
Sean8914-Apr-06 2:16
Sean8914-Apr-06 2:16 
GeneralRe: hotmail account Pin
Guffa14-Apr-06 2:42
Guffa14-Apr-06 2:42 
QuestionHow to get the language of the Windows 2000? Pin
rushing14-Apr-06 1:12
rushing14-Apr-06 1:12 
AnswerRe: How to get the language of the Windows 2000? Pin
HakunaMatada14-Apr-06 1:42
HakunaMatada14-Apr-06 1:42 

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.