Click here to Skip to main content
15,908,111 members
Home / Discussions / C#
   

C#

 
GeneralRTF to XML Pin
Member 202751015-Jun-05 11:55
Member 202751015-Jun-05 11:55 
GeneralRe: RTF to XML Pin
Christian Graus15-Jun-05 13:46
protectorChristian Graus15-Jun-05 13:46 
QuestionRe: RTF to XML Pin
Sandeepat.net14-Sep-10 23:57
Sandeepat.net14-Sep-10 23:57 
Generaldraw 2 transparent png one over the other Pin
Sasuko15-Jun-05 11:30
Sasuko15-Jun-05 11:30 
GeneralRe: draw 2 transparent png one over the other Pin
Christian Graus15-Jun-05 13:47
protectorChristian Graus15-Jun-05 13:47 
GeneralHttpWebRequest Troubles Pin
dhonda15-Jun-05 9:25
dhonda15-Jun-05 9:25 
QuestionBatch SqlCommand execution? Pin
Judah Gabriel Himango15-Jun-05 9:09
sponsorJudah Gabriel Himango15-Jun-05 9:09 
GeneralSockets and ArrayLists Pin
obelisk2915-Jun-05 8:33
obelisk2915-Jun-05 8:33 
Hi am writing a chat server and I was stress testing my server and found some errors.

Say I have an arraylist.

ArrayList sockets = new ArrayList(listOfSockets);

Now I call Socket.Select to take out the sockets that don't have data on them.

Socket.Select(sockets, null, null, 100000000);

This is where the error happens, if I pass in a ArrayList that has 65 sockets in it.
It causes a IndexOutOfRangeException to happen. I have tried using other ways of doing it and it causes different errors but it always happens when it reaches 65 sockets.

I am dumbfounded please help.

------------------

I'm naked under my clothes...
GeneralRe: Sockets and ArrayLists Pin
eggie515-Jun-05 19:21
eggie515-Jun-05 19:21 
GeneralImaging Application - not enough RAM Pin
Libor Tinka15-Jun-05 8:03
Libor Tinka15-Jun-05 8:03 
GeneralRe: Imaging Application - not enough RAM Pin
DavidNohejl15-Jun-05 8:19
DavidNohejl15-Jun-05 8:19 
GeneralRe: Imaging Application - not enough RAM Pin
Judah Gabriel Himango15-Jun-05 8:30
sponsorJudah Gabriel Himango15-Jun-05 8:30 
GeneralRe: Imaging Application - not enough RAM Pin
Dave Kreskowiak15-Jun-05 8:51
mveDave Kreskowiak15-Jun-05 8:51 
GeneralRe: Imaging Application - not enough RAM Pin
DavidNohejl15-Jun-05 12:44
DavidNohejl15-Jun-05 12:44 
GeneralRe: Imaging Application - not enough RAM Pin
JDUK15-Jun-05 12:12
JDUK15-Jun-05 12:12 
GeneralRe: Imaging Application - not enough RAM Pin
Dave Kreskowiak15-Jun-05 18:52
mveDave Kreskowiak15-Jun-05 18:52 
GeneralRe: Imaging Application - not enough RAM Pin
Christian Graus15-Jun-05 13:48
protectorChristian Graus15-Jun-05 13:48 
GeneralRe: Imaging Application - not enough RAM Pin
Libor Tinka16-Jun-05 1:02
Libor Tinka16-Jun-05 1:02 
GeneralDetecting New Mail -- Exchange Server 2000 Pin
JMKerp295815-Jun-05 7:47
JMKerp295815-Jun-05 7:47 
GeneralNumber of pages in PrintPreviewControl Pin
Luis Alonso Ramos15-Jun-05 7:47
Luis Alonso Ramos15-Jun-05 7:47 
GeneralRe: Number of pages in PrintPreviewControl -- solved Pin
Luis Alonso Ramos15-Jun-05 8:50
Luis Alonso Ramos15-Jun-05 8:50 
GeneralOffice Interop - Populating Checkboxes Pin
tsmyrnio15-Jun-05 7:43
tsmyrnio15-Jun-05 7:43 
QuestionGDI+ drawing strings causes messed gaps between letters - how to fix? Pin
iliyang15-Jun-05 7:16
iliyang15-Jun-05 7:16 
AnswerRe: GDI+ drawing strings causes messed gaps between letters - how to fix? Pin
MoustafaS15-Jun-05 8:25
MoustafaS15-Jun-05 8:25 
GeneralRe: GDI+ drawing strings causes messed gaps between letters - how to fix? Pin
iliyang15-Jun-05 11:16
iliyang15-Jun-05 11:16 

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.