Click here to Skip to main content
16,016,770 members
Home / Discussions / C#
   

C#

 
GeneralRe: IO completion ports and unexpected performance. Pin
scadaguy11-Jun-04 3:06
scadaguy11-Jun-04 3:06 
GeneralRe: IO completion ports and unexpected performance. Pin
Angelos Petropoulos11-Jun-04 3:27
Angelos Petropoulos11-Jun-04 3:27 
GeneralRe: IO completion ports and unexpected performance. Pin
k.mohan kumar28-Jan-09 20:11
k.mohan kumar28-Jan-09 20:11 
GeneralRe: IO completion ports and unexpected performance. Pin
Angelos Petropoulos11-Jun-04 1:44
Angelos Petropoulos11-Jun-04 1:44 
GeneralRe: IO completion ports and unexpected performance. Pin
scadaguy11-Jun-04 3:24
scadaguy11-Jun-04 3:24 
GeneralRe: IO completion ports and unexpected performance. Pin
Angelos Petropoulos11-Jun-04 3:37
Angelos Petropoulos11-Jun-04 3:37 
GeneralRe: IO completion ports and unexpected performance. Pin
Angelos Petropoulos11-Jun-04 5:29
Angelos Petropoulos11-Jun-04 5:29 
GeneralRe: IO completion ports and unexpected performance. Pin
Colby James Smith1-Sep-04 10:06
Colby James Smith1-Sep-04 10:06 
I have reviewed both your thread and the article on implementing IOCP through C# via Win32. I have developed an IOCP server in C++ (Native) and have tested it thoroughly (at Microsoft) confirming that there is no contest between the thread per client model and IOCP model servers (when under load of course).

My question for both of you is: how did you implement a true IOCP server without using the WIN32 API? In the article it indicates the following:

"IOCP thread support has not been made available to C# developers through the “System.Threading” namespace. We need to access the Win32 API calls from the Kernel32.dll."

Being fairly new to C# and recently tasked with solving a scalability problem with a C# thread per client server I am interested to know how you created an IOCP server in C# without using the API? Or are you using the API? Can you explain? The code snippet at the beginning of this thread does not illustrate the use of IOCP so I need some further clarification.

Also, have you heard if there will be a way to create an IOCP C# server from version 2.0 of the framework? It is available now as a BETA but I have not looked into it yet; have either of you two inquired about this?

Thanks very much. Smile | :)

James
Questionwhat is the differcence between close and dispose with Process instance? Pin
fu09-Jun-04 2:36
fu09-Jun-04 2:36 
AnswerRe: what is the differcence between close and dispose with Process instance? Pin
Heath Stewart9-Jun-04 2:54
protectorHeath Stewart9-Jun-04 2:54 
GeneralRe: what is the differcence between close and dispose with Process instance? Pin
fu09-Jun-04 16:52
fu09-Jun-04 16:52 
GeneralRe: what is the differcence between close and dispose with Process instance? Pin
Heath Stewart10-Jun-04 3:09
protectorHeath Stewart10-Jun-04 3:09 
AnswerRe: what is the differcence between close and dispose with Process instance? Pin
Alvaro Mendez9-Jun-04 8:45
Alvaro Mendez9-Jun-04 8:45 
GeneralCrystal Report and Dataset Pin
amatyasik9-Jun-04 2:00
amatyasik9-Jun-04 2:00 
GeneralRe: Crystal Report and Dataset Pin
Heath Stewart9-Jun-04 2:14
protectorHeath Stewart9-Jun-04 2:14 
GeneralRe: Crystal Report and Dataset Pin
Alex Getman9-Jun-04 7:00
Alex Getman9-Jun-04 7:00 
General. Pin
hssaroch9-Jun-04 1:40
hssaroch9-Jun-04 1:40 
GeneralRe: FTP and Telnet client class in C# Pin
Heath Stewart9-Jun-04 2:51
protectorHeath Stewart9-Jun-04 2:51 
AnswerRe: FTP and Telnet client class in C# Pin
sudreshan_116-Jul-09 1:08
sudreshan_116-Jul-09 1:08 
QuestionUSB port programming?? Pin
EdgarBM9-Jun-04 1:26
EdgarBM9-Jun-04 1:26 
AnswerRe: USB port programming?? Pin
Heath Stewart9-Jun-04 2:44
protectorHeath Stewart9-Jun-04 2:44 
GeneralA ListBox problem Pin
chenshch9-Jun-04 1:26
chenshch9-Jun-04 1:26 
GeneralRe: A ListBox problem Pin
Heath Stewart9-Jun-04 2:40
protectorHeath Stewart9-Jun-04 2:40 
GeneralMaking Automated Ebay Signin and Bidding program... Pin
geopass8-Jun-04 23:53
geopass8-Jun-04 23:53 
GeneralRe: Making Automated Ebay Signin and Bidding program... Pin
Colin Angus Mackay9-Jun-04 1:41
Colin Angus Mackay9-Jun-04 1:41 

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.