Click here to Skip to main content
16,010,392 members
Home / Discussions / C#
   

C#

 
AnswerRe: problems with incoming messages Pin
Judah Gabriel Himango19-Jul-07 7:41
sponsorJudah Gabriel Himango19-Jul-07 7:41 
GeneralRe: problems with incoming messages Pin
donjubs19-Jul-07 7:51
donjubs19-Jul-07 7:51 
GeneralRe: problems with incoming messages Pin
Judah Gabriel Himango19-Jul-07 8:05
sponsorJudah Gabriel Himango19-Jul-07 8:05 
GeneralRe: problems with incoming messages Pin
donjubs19-Jul-07 9:13
donjubs19-Jul-07 9:13 
GeneralRe: problems with incoming messages Pin
Judah Gabriel Himango19-Jul-07 9:46
sponsorJudah Gabriel Himango19-Jul-07 9:46 
GeneralRe: problems with incoming messages Pin
donjubs19-Jul-07 9:51
donjubs19-Jul-07 9:51 
GeneralRe: problems with incoming messages Pin
Judah Gabriel Himango20-Jul-07 7:25
sponsorJudah Gabriel Himango20-Jul-07 7:25 
GeneralRe: problems with incoming messages Pin
donjubs20-Jul-07 12:35
donjubs20-Jul-07 12:35 
exception message: "ArgumentOutOfRangeException: InvalidArgument=Value of -1 is not valid for index"
exception line: "sw.Invoke(Addmsg, receivedtext);"
receivedtext is correct, when the error occurs, so the problem is probably the delegate.

<br />
        private delegate void Addmsgs(string msg);<br />
        private event Addmsgs Addmsg;<br />
<br />
        Addmsg = new Addmsgs(IRCStream); // <- this is inside the classes constructor<br />


perhaps the problem is, as you mentioned some posts ago Wink | ;) , that the socket is not thread safe. I googled and tried to find a solution to make the socket thread safe, but i didn't find anything, that could help me.

thanks for helping me so far Wink | ;)
GeneralRe: problems with incoming messages Pin
Judah Gabriel Himango21-Jul-07 11:56
sponsorJudah Gabriel Himango21-Jul-07 11:56 
GeneralRe: problems with incoming messages Pin
donjubs22-Jul-07 11:34
donjubs22-Jul-07 11:34 
GeneralRe: problems with incoming messages Pin
Judah Gabriel Himango23-Jul-07 6:06
sponsorJudah Gabriel Himango23-Jul-07 6:06 
AnswerRe: problems with incoming messages Pin
pbraun19-Jul-07 13:09
pbraun19-Jul-07 13:09 
GeneralRe: problems with incoming messages Pin
donjubs20-Jul-07 6:32
donjubs20-Jul-07 6:32 
QuestionTreeView Node focus Pin
topksharma198219-Jul-07 6:28
topksharma198219-Jul-07 6:28 
AnswerRe: TreeView Node focus Pin
Abisodun19-Jul-07 7:35
Abisodun19-Jul-07 7:35 
QuestionArchitecture question Pin
ssack19-Jul-07 6:24
ssack19-Jul-07 6:24 
QuestionSending Data to Sql Database Pin
Civic0619-Jul-07 5:28
Civic0619-Jul-07 5:28 
AnswerRe: Sending Data to Sql Database Pin
originSH19-Jul-07 5:45
originSH19-Jul-07 5:45 
AnswerRe: Sending Data to Sql Database Pin
snorkie19-Jul-07 5:52
professionalsnorkie19-Jul-07 5:52 
AnswerRe: Sending Data to Sql Database Pin
Civic0619-Jul-07 5:59
Civic0619-Jul-07 5:59 
GeneralRe: Sending Data to Sql Database Pin
originSH19-Jul-07 6:27
originSH19-Jul-07 6:27 
QuestionConditional Compilation Pin
BoneSoft19-Jul-07 5:14
BoneSoft19-Jul-07 5:14 
AnswerRe: Conditional Compilation Pin
Colin Angus Mackay19-Jul-07 5:36
Colin Angus Mackay19-Jul-07 5:36 
GeneralRe: Conditional Compilation Pin
BoneSoft19-Jul-07 7:59
BoneSoft19-Jul-07 7:59 
AnswerRe: Conditional Compilation Pin
Luc Pattyn19-Jul-07 5:41
sitebuilderLuc Pattyn19-Jul-07 5: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.