i want to write a tcp server in c# under windows. can i run the same program or use the same code under mono without modification.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have to be careful with what you write. Mono isn’t near 100% supporting .NET on Windows, but it’s a very good start. a TCP server might be tricky because it tends to be the places that do hardware interaction (like IO) that have the most compatibility issues.
Mono has a free tool called MoMA that can analyze a .NET Application and tell you if it is going to have problems. You can download it here: http://www.mono-project.com/MoMA