Click here to Skip to main content
15,914,594 members
Home / Discussions / C#
   

C#

 
GeneralRe: Exporting S.D.Graphics to file? Pin
zaubara5-Mar-05 7:10
zaubara5-Mar-05 7:10 
GeneralText alignment Pin
gmeii4-Mar-05 10:33
gmeii4-Mar-05 10:33 
GeneralRe: Text alignment Pin
mav.northwind4-Mar-05 21:48
mav.northwind4-Mar-05 21:48 
Generaldatatable.datarowcollection Pin
(Steven Hicks)n+14-Mar-05 10:28
(Steven Hicks)n+14-Mar-05 10:28 
GeneralRe: datatable.datarowcollection Pin
turbochimp4-Mar-05 10:59
turbochimp4-Mar-05 10:59 
GeneralA silly socket question Pin
sameerhanda4-Mar-05 10:14
sameerhanda4-Mar-05 10:14 
GeneralRe: A silly socket question Pin
S. Senthil Kumar4-Mar-05 11:17
S. Senthil Kumar4-Mar-05 11:17 
GeneralRe: A silly socket question Pin
Sebastian Schneider7-Mar-05 1:50
Sebastian Schneider7-Mar-05 1:50 
Try reading on "non-blocking server socket" in the MSDN.

The thing is: if you have a "server loop" which waits on data to arrive on any of these ports, then does some manipulation and loops, you will always have poor performance, as your application will block until you are done with one of the requests.

If you decided to use 10 ports in order to offer "10 parallel connections", you totally misunderstood the concept (sorry Smile | :) ).

You should only use different ports for different services (e.g. FTP Control connection on Port 21, HTTP on Port 80, ...) or to seperate user-groups (e.g. Customer1 connects to FTP on port 21, Customer2 uses Port 23, ...).

Specifically, you might want to read into Delegates, Callbacks, etc. These are, IMHO, the easiest way to create socket-using apps without doing manual multithreading.

Cheers
Sid
GeneralTroubles with dynamically created WUC Pin
see074-Mar-05 9:29
see074-Mar-05 9:29 
GeneralRe: Troubles with dynamically created WUC Pin
see077-Mar-05 5:54
see077-Mar-05 5:54 
GeneralRe: Troubles with dynamically created WUC Pin
see077-Mar-05 7:11
see077-Mar-05 7:11 
QuestionHow to catch system KeyDown or Mousemove events. Pin
491524-Mar-05 8:48
491524-Mar-05 8:48 
AnswerRe: How to catch system KeyDown or Mousemove events. Pin
S. Senthil Kumar4-Mar-05 9:03
S. Senthil Kumar4-Mar-05 9:03 
GeneralUsing SendMessage and PostMessage APIs Pin
Guinness4Strength4-Mar-05 8:42
Guinness4Strength4-Mar-05 8:42 
GeneralRe: Using SendMessage and PostMessage APIs Pin
Judah Gabriel Himango4-Mar-05 12:01
sponsorJudah Gabriel Himango4-Mar-05 12:01 
GeneralRe: Using SendMessage and PostMessage APIs Pin
Guinness4Strength5-Mar-05 8:20
Guinness4Strength5-Mar-05 8:20 
GeneralRe: Using SendMessage and PostMessage APIs Pin
mav.northwind4-Mar-05 21:52
mav.northwind4-Mar-05 21:52 
GeneralRe: Using SendMessage and PostMessage APIs Pin
Guinness4Strength5-Mar-05 8:16
Guinness4Strength5-Mar-05 8:16 
GeneralLoading an assembly dynamically and using types/functions in it Pin
Bojan Rajkovic4-Mar-05 8:16
Bojan Rajkovic4-Mar-05 8:16 
GeneralRe: Loading an assembly dynamically and using types/functions in it Pin
S. Senthil Kumar4-Mar-05 9:08
S. Senthil Kumar4-Mar-05 9:08 
GeneralRunning an IO application on a network Pin
TOVB4-Mar-05 7:41
sussTOVB4-Mar-05 7:41 
GeneralRe: Running an IO application on a network Pin
Joel Lucsy4-Mar-05 8:40
Joel Lucsy4-Mar-05 8:40 
GeneralInstalling a service without using ServiceProcessInstaller/ServiceInstaller Pin
Lakitu4-Mar-05 5:18
Lakitu4-Mar-05 5:18 
Generalping use too long time Pin
haha200014-Mar-05 4:47
haha200014-Mar-05 4:47 
GeneralRe: ping use too long time Pin
Dave Kreskowiak4-Mar-05 7:34
mveDave Kreskowiak4-Mar-05 7:34 

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.