Click here to Skip to main content
15,396,113 members
Home / Discussions / C / C++ / MFC

C / C++ / MFC

AnswerRe: program step into non defined area Pin
zildjohn017-Sep-05 12:38
Memberzildjohn017-Sep-05 12:38 
AnswerRe: program step into non defined area Pin
MailtoGops8-Sep-05 3:01
MemberMailtoGops8-Sep-05 3:01 
QuestionAfxEndThread Pin
Anonymous7-Sep-05 12:23
MemberAnonymous7-Sep-05 12:23 
AnswerRe: AfxEndThread Pin
ThatsAlok7-Sep-05 18:57
MemberThatsAlok7-Sep-05 18:57 
AnswerRe: AfxEndThread Pin
David Crow8-Sep-05 3:24
MemberDavid Crow8-Sep-05 3:24 
Questiontemplates question Pin
zildjohn017-Sep-05 12:09
Memberzildjohn017-Sep-05 12:09 
AnswerRe: templates question Pin
zildjohn017-Sep-05 15:34
Memberzildjohn017-Sep-05 15:34 
QuestionIOCP & COM ports Pin
Member 18770927-Sep-05 11:32
MemberMember 18770927-Sep-05 11:32 
Working on an interesting server application. On a private LAN this serever will handle about 120 clients(socket server) and at the same time it will communicate via 160 serial COM ports(COM server). For that we use multiple "PortServer" boxes by Digi which connect to LAN on server side and provide serial ports on the other. Digi's driver makes COM port control absolutely transparent. The idea is that the apps written for "classical" COM ports should work using "PortSErver" via LAN without a single code change.

Both socket and serial communication are implemented using IOCP. While socket server works fine the COM server starts eating up memory after some time. The nature of serial communication is a constant polling(and remote responses) @9600Bd on all 160 ports. Messages are only 6bytes long and all 160 COM ports hang on a single IOCP. This type of operation puts more strain on IOCP queueing mechanism than a typical LAN data stream. We are quite confident that the memory leak is not some silly thing in our code and here comes the question. Does anybody have experience with this type of IOCP application? I would really appreciate your comments.


QuestionCan I apply VC++6 code into VC++.NET code? Pin
uumeme7-Sep-05 9:50
Memberuumeme7-Sep-05 9:50 
AnswerRe: Can I apply VC++6 code into VC++.NET code? Pin
Christian Graus7-Sep-05 13:15
mveChristian Graus7-Sep-05 13:15 
QuestionAdding color to my dialog Pin
bugDanny7-Sep-05 9:02
MemberbugDanny7-Sep-05 9:02 
AnswerRe: Adding color to my dialog Pin
Chris Losinger7-Sep-05 10:00
professionalChris Losinger7-Sep-05 10:00 
QuestionCalling All CListCtrl Experts Pin
Spoodles7-Sep-05 8:54
MemberSpoodles7-Sep-05 8:54 
AnswerRe: Calling All CListCtrl Experts Pin
Mircea Puiu7-Sep-05 20:41
MemberMircea Puiu7-Sep-05 20:41 
GeneralRe: Calling All CListCtrl Experts Pin
Spoodles8-Sep-05 3:11
MemberSpoodles8-Sep-05 3:11 
GeneralRe: Calling All CListCtrl Experts Pin
Mircea Puiu8-Sep-05 4:02
MemberMircea Puiu8-Sep-05 4:02 
QuestionUpdating CheckBoxes Pin
DanYELL7-Sep-05 5:08
MemberDanYELL7-Sep-05 5:08 
AnswerRe: Updating CheckBoxes Pin
Mircea Puiu7-Sep-05 5:18
MemberMircea Puiu7-Sep-05 5:18 
GeneralRe: Updating CheckBoxes Pin
DanYELL7-Sep-05 5:57
MemberDanYELL7-Sep-05 5:57 
GeneralRe: Updating CheckBoxes Pin
bugDanny7-Sep-05 9:18
MemberbugDanny7-Sep-05 9:18 
GeneralRe: Updating CheckBoxes Pin
Mircea Puiu7-Sep-05 20:09
MemberMircea Puiu7-Sep-05 20:09 
AnswerRe: Updating CheckBoxes Pin
toxcct7-Sep-05 5:42
Membertoxcct7-Sep-05 5:42 
AnswerRe: Updating CheckBoxes Pin
David Crow7-Sep-05 6:25
MemberDavid Crow7-Sep-05 6:25 
AnswerRe: Updating CheckBoxes Pin
Jack Puppy7-Sep-05 15:37
MemberJack Puppy7-Sep-05 15:37 
QuestionDll and XP theme Pin
hari_rs7-Sep-05 4:02
Memberhari_rs7-Sep-05 4:02 

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.