Hello, I have written a simple program that establishes a tcp connectio, using the TcpClient class. I used the StreamReader and StreamWriter objects for reading and writing to the socket. When I compiled the code there were no errors (with ms c# compiler and with mono). However when I tried to run the program with mono (in linux), I got this output:
** (process:22981): WARNING **: cant resolve internal call to "System.Text.DefaultEncoding::InternalCodePage()" (tested without signature also) Your mono runtime and corlib are out of sync. When you update one from cvs you need to update, compile and install the other too. Do not report this as a bug unless you're sure you have updated correctly: you probably have a broken mono install. If you see other errors or faults after this message they are probably related and you need to fix your mono install first. . . . Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object in <0x00024> 06 System.Text.DefaultEncoding:InternalCodePage () in <0x00044> 00 System.Text.Encoding:get_Default () in <0x00062> 00 ImapSharp.Code.ImapSession:Connect (string,int) in <0x00079> 00 ImapSharp.Code.ImapCheck:Main () Now, with the ms runtime I got no problems. I tried to re install mono (as stated by the faq), tried to download from cvs, sources, rpm, but nothing seemed to work. I would really want to run this program under linux. Can someone help me out here? With regards, Ricardo Kirkner _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
