Click here to Skip to main content
15,896,118 members
Home / Discussions / C#
   

C#

 
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 
GeneralDataTable already belongs to another DataSet Pin
myNameIsRon16-Oct-04 20:40
myNameIsRon16-Oct-04 20:40 
GeneralRe: DataTable already belongs to another DataSet Pin
Heath Stewart16-Oct-04 20:49
protectorHeath Stewart16-Oct-04 20:49 
GeneralRe: DataTable already belongs to another DataSet Pin
myNameIsRon17-Oct-04 15:29
myNameIsRon17-Oct-04 15:29 
GeneralCount Char in String Pin
Bedevian16-Oct-04 19:08
Bedevian16-Oct-04 19:08 
GeneralRe: Count Char in String Pin
Alex Korchemniy16-Oct-04 20:58
Alex Korchemniy16-Oct-04 20:58 
GeneralPlease help User Control Pin
robmays16-Oct-04 16:45
robmays16-Oct-04 16:45 
GeneralRe: Please help User Control Pin
afinnell17-Oct-04 8:57
afinnell17-Oct-04 8:57 
GeneralRe: Please help User Control Pin
robmays17-Oct-04 20:47
robmays17-Oct-04 20:47 
GeneralMultiline text not displayed correctly in text box Pin
Luis Alonso Ramos16-Oct-04 12:38
Luis Alonso Ramos16-Oct-04 12:38 
GeneralRe: Multiline text not displayed correctly in text box Pin
Heath Stewart16-Oct-04 21:09
protectorHeath Stewart16-Oct-04 21: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.