Click here to Skip to main content
15,905,427 members
Home / Discussions / C#
   

C#

 
GeneralGet backup status using WMI Pin
WillemM17-Oct-04 7:19
WillemM17-Oct-04 7:19 
GeneralRe: Get backup status using WMI Pin
Anonymous17-Oct-04 16:52
Anonymous17-Oct-04 16:52 
GeneralRe: Get backup status using WMI Pin
Anonymous17-Oct-04 17:41
Anonymous17-Oct-04 17:41 
GeneralRe: Get backup status using WMI Pin
WillemM17-Oct-04 22:50
WillemM17-Oct-04 22:50 
Questionhow to remove an element from an array Pin
tom_dx17-Oct-04 4:48
tom_dx17-Oct-04 4:48 
AnswerRe: how to remove an element from an array Pin
CerebralKungFu17-Oct-04 5:21
CerebralKungFu17-Oct-04 5:21 
GeneralRe: how to remove an element from an array Pin
tom_dx17-Oct-04 7:36
tom_dx17-Oct-04 7:36 
GeneralRe: how to remove an element from an array Pin
CerebralKungFu17-Oct-04 8:42
CerebralKungFu17-Oct-04 8:42 
GeneralHelp Please... Waqas Butt Pin
| Muhammad Waqas Butt |17-Oct-04 4:41
professional| Muhammad Waqas Butt |17-Oct-04 4:41 
GeneralRe: Help Please... Waqas Butt Pin
Christian Graus17-Oct-04 10:56
protectorChristian Graus17-Oct-04 10:56 
GeneralRe: Help Please... Waqas Butt Pin
| Muhammad Waqas Butt |18-Oct-04 15:07
professional| Muhammad Waqas Butt |18-Oct-04 15:07 
GeneralRe: Help Please... Waqas Butt Pin
Christian Graus18-Oct-04 15:22
protectorChristian Graus18-Oct-04 15:22 
GeneralRe: Help Please... Waqas Butt Pin
| Muhammad Waqas Butt |18-Oct-04 21:44
professional| Muhammad Waqas Butt |18-Oct-04 21:44 
GeneralInterprocess communication Pin
petst17-Oct-04 3:00
petst17-Oct-04 3:00 
GeneralRe: Interprocess communication Pin
CerebralKungFu17-Oct-04 4:55
CerebralKungFu17-Oct-04 4:55 
GeneralRe: Interprocess communication Pin
petst17-Oct-04 5:40
petst17-Oct-04 5:40 
GeneralRe: Interprocess communication Pin
CerebralKungFu17-Oct-04 6:31
CerebralKungFu17-Oct-04 6:31 
GeneralRe: Interprocess communication Pin
petst17-Oct-04 6:55
petst17-Oct-04 6:55 
The desired producer/consumer config is one-to-one. The scope of this application (which is part of a larger solution) is a single machine. We conceive several Windows Services that make up the machine solution.

A first one uses sockets to listen for incoming connections and parses streams into atomic messages according to a protocol specification. A second service should handle decryption, a third inspection, and a fourth will be a router that forwards plain-text messages to several back-end machines.

Messages always have a minumum length of 4 bytes length (mapped to an Int32), 4 bytes Transaction Number, 10 bytes of flag fields, and finally the message itself. So theoretically the max length of a message is 4+4+10=18 bytes of headers plus an Int32's MaxValue which would then be 2,147,483,665 bytes. In real life this will not be the case, messages will never exceed 150 bytes, including the header. The typical size will be around 50 bytes.

There is also no need to queue messages within the mem mapped file mechanism as it is already covered with our own queueing mechanism which makes use of IO completion port threading in the background.

Thanks,

Peter
GeneralURL Encoding - prevent "|" encoding as %7C Pin
Helix017-Oct-04 2:06
Helix017-Oct-04 2:06 
GeneralRe: URL Encoding - prevent "|" encoding as %7C Pin
WillemM17-Oct-04 7:25
WillemM17-Oct-04 7:25 
GeneralRe: URL Encoding - prevent "|" encoding as %7C Pin
Helix018-Oct-04 2:15
Helix018-Oct-04 2:15 
QuestionHow using class from another project Pin
Mikel Fayad16-Oct-04 22:50
Mikel Fayad16-Oct-04 22:50 
AnswerRe: How using class from another project Pin
nxde200016-Oct-04 23:26
nxde200016-Oct-04 23:26 
GeneralRe: How using class from another project Pin
Mikel Fayad17-Oct-04 21:55
Mikel Fayad17-Oct-04 21:55 
GeneralUse Graph.Chart in MSWord Pin
nxdess16-Oct-04 21:45
sussnxdess16-Oct-04 21:45 

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.