Click here to Skip to main content
15,894,955 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Closing a crashed application. Pin
David Crow8-Apr-04 6:49
David Crow8-Apr-04 6:49 
GeneralRe: Closing a crashed application. Pin
mcgahanfl8-Apr-04 7:40
mcgahanfl8-Apr-04 7:40 
GeneralHook dll for Multiple applications Pin
Rajeshk1238-Apr-04 3:29
Rajeshk1238-Apr-04 3:29 
GeneralRe: Hook dll for Multiple applications Pin
Anonymous8-Apr-04 4:33
Anonymous8-Apr-04 4:33 
GeneralRe: Hook dll for Multiple applications Pin
gUrM33T8-Apr-04 15:12
gUrM33T8-Apr-04 15:12 
Generaltcp header Pin
packetlos8-Apr-04 3:17
packetlos8-Apr-04 3:17 
GeneralRe: tcp header Pin
Antony M Kancidrowski8-Apr-04 5:17
Antony M Kancidrowski8-Apr-04 5:17 
GeneralRe: tcp header Pin
Roger Wright8-Apr-04 5:38
professionalRoger Wright8-Apr-04 5:38 
USHORT sport; // Source port<br />
USHORT dport; // Destination port<br />
UINT32 seq; // Sequence number<br />
UINT32 ack; // Acknowledgement number


So far, so good. The next bit, according to "Internet Protocols Handbook," should be:

Data Offset - 4 bits
Reserved - 6 bits
Flags - 6 bits

I think I'd take the whole lot and make one 16-bit value of it, using ORs to set the flags and offset bitfields. Also, this reference indicates that a variable length Options field, padded by 0s in the low-order bits to 32-bits, is expected to precede the data block. The book doesn't mention whether the Options field is required; the RFC (793) may be more specific.



I've felt much better since I gave up hope.
GeneralRe: tcp header Pin
packetlos8-Apr-04 6:55
packetlos8-Apr-04 6:55 
GeneralRe: tcp header Pin
Roger Wright11-Apr-04 5:35
professionalRoger Wright11-Apr-04 5:35 
GeneralRe: tcp header Pin
packetlos14-Apr-04 8:39
packetlos14-Apr-04 8:39 
GeneralPass Server Exception to Client proxy Pin
Anonymous8-Apr-04 2:50
Anonymous8-Apr-04 2:50 
GeneralSDI application Help.. Pin
Renjith Ramachandran8-Apr-04 2:21
Renjith Ramachandran8-Apr-04 2:21 
GeneralRe: SDI application Help.. Pin
Ravi Bhavnani8-Apr-04 3:51
professionalRavi Bhavnani8-Apr-04 3:51 
GeneralRe: SDI application Help.. Pin
Renjith Ramachandran8-Apr-04 3:54
Renjith Ramachandran8-Apr-04 3:54 
GeneralRe: SDI application Help.. Pin
Prakash Nadar8-Apr-04 4:47
Prakash Nadar8-Apr-04 4:47 
GeneralRe: SDI application Help.. Pin
Renjith Ramachandran8-Apr-04 4:57
Renjith Ramachandran8-Apr-04 4:57 
GeneralProblem in messages scheduling using timers Pin
nandha8-Apr-04 2:08
nandha8-Apr-04 2:08 
GeneralRe: Problem in messages scheduling using timers Pin
toxcct8-Apr-04 2:14
toxcct8-Apr-04 2:14 
GeneralRe: Problem in messages scheduling using timers Pin
David Crow8-Apr-04 2:16
David Crow8-Apr-04 2:16 
GeneralRe: Problem in messages scheduling using timers Pin
Prakash Nadar8-Apr-04 6:36
Prakash Nadar8-Apr-04 6:36 
GeneralFor SSL tunneling wt is Connect command syntax for connecting to HTTP Proxy server Pin
Anonymous8-Apr-04 1:31
Anonymous8-Apr-04 1:31 
GeneralRe: For SSL tunneling wt is Connect command syntax for connecting to HTTP Proxy server Pin
valikac8-Apr-04 9:02
valikac8-Apr-04 9:02 
QuestionHow to save CDC content to a Bitmap file Pin
JHAKAS8-Apr-04 1:14
JHAKAS8-Apr-04 1:14 
GeneralDesktop Context Menu Pin
/P/8-Apr-04 1:09
suss/P/8-Apr-04 1:09 

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.