Click here to Skip to main content
14,237,438 members

ATL / WTL / STL

 
AnswerRe: How to create a dll as Unbreakable in C#.Net? Pin
Richard MacCutchan7-Dec-14 22:52
protectorRichard MacCutchan7-Dec-14 22:52 
QuestionTCP/API class basic design Pin
bkelly138-Nov-14 16:31
memberbkelly138-Nov-14 16:31 
AnswerRe: TCP/API class basic design Pin
Garth J Lancaster8-Nov-14 16:56
professionalGarth J Lancaster8-Nov-14 16:56 
GeneralRe: TCP/API class basic design Pin
bkelly139-Nov-14 2:15
memberbkelly139-Nov-14 2:15 
AnswerRe: TCP/API class basic design Pin
Garth J Lancaster8-Nov-14 17:06
professionalGarth J Lancaster8-Nov-14 17:06 
GeneralRe: TCP/API class basic design Pin
bkelly139-Nov-14 2:19
memberbkelly139-Nov-14 2:19 
AnswerRe: TCP/API class basic design Pin
Albert Holguin10-Nov-14 4:58
professionalAlbert Holguin10-Nov-14 4:58 
GeneralRe: TCP/API class basic design Pin
bkelly1310-Nov-14 12:40
memberbkelly1310-Nov-14 12:40 
Thanks for the comment and the link.

I am doing this as self guided education and for use at work. The main app will start a function as a thread and that will instantiate the TCP class and start a method in the TCP/IP class to conduct all the I/O. That method will run until completion. The entire app is a high data rate telemetry system.

I have divided the send and receive into two separate paths, one to send and one to receive. Each path is a strict producer and consumer link. That tremendously reduces the complexity in communications between the main and the TCP thread. Its almost trivial.

At the lowest level, the TCP class starts a completion thread for the send side and soon will start another completion thread for the receive side.

All the TCP code is driven by events, no polling.
Thank you for your time
If you work with telemetry, please check this bulletin board: www.irigbb.com


AnswerRe: TCP/API class basic design Pin
Albert Holguin10-Nov-14 16:47
professionalAlbert Holguin10-Nov-14 16:47 
GeneralMultiple threads explained Pin
bkelly1311-Nov-14 6:30
memberbkelly1311-Nov-14 6:30 
GeneralRe: Multiple threads explained Pin
Albert Holguin11-Nov-14 7:01
professionalAlbert Holguin11-Nov-14 7:01 
GeneralRe: Multiple threads explained Pin
bkelly1311-Nov-14 9:58
memberbkelly1311-Nov-14 9:58 
AnswerRe: TCP/API class basic design Pin
pasztorpisti10-Jan-15 11:06
professionalpasztorpisti10-Jan-15 11:06 
QuestionTime of reading text file Pin
econy7-Nov-14 4:24
memberecony7-Nov-14 4:24 
QuestionRe: Time of reading text file Pin
Richard MacCutchan8-Nov-14 21:33
protectorRichard MacCutchan8-Nov-14 21:33 
AnswerRe: Time of reading text file Pin
econy11-Nov-14 2:06
memberecony11-Nov-14 2:06 
GeneralRe: Time of reading text file Pin
Richard MacCutchan11-Nov-14 5:42
protectorRichard MacCutchan11-Nov-14 5:42 
GeneralRe: Time of reading text file Pin
econy11-Nov-14 6:56
memberecony11-Nov-14 6:56 
GeneralRe: Time of reading text file Pin
Richard MacCutchan11-Nov-14 7:05
protectorRichard MacCutchan11-Nov-14 7:05 
GeneralRe: Time of reading text file Pin
econy11-Nov-14 7:17
memberecony11-Nov-14 7:17 
GeneralRe: Time of reading text file Pin
Richard MacCutchan11-Nov-14 7:25
protectorRichard MacCutchan11-Nov-14 7:25 
AnswerRe: Time of reading text file Pin
Aescleal12-Nov-14 6:01
memberAescleal12-Nov-14 6:01 
QuestionOptimized Solution for prime numbers.. Pin
Raunak Singh Chauhan6-Nov-14 6:20
memberRaunak Singh Chauhan6-Nov-14 6:20 
AnswerRe: Optimized Solution for prime numbers.. Pin
Nicolas Dorier6-Nov-14 6:45
professionalNicolas Dorier6-Nov-14 6:45 
GeneralRe: Optimized Solution for prime numbers.. Pin
Raunak Singh Chauhan6-Nov-14 6:49
memberRaunak Singh Chauhan6-Nov-14 6:49 

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.