I just started developing a sample application for Mono. The main task is to implement a tcp-socket server on the android tablet listening for connections from a client. after connecting the client starts sending real-time data and the android application displays the data on the screen. this is important to implement the server side on the android. I am using Mono for Android / C# . I already have about a week google searching and sample browsing.
My question is: if the Async TCP socket works on the android mono framework or not. because my code works fine when I use it in "windows application" to "windows application" platform. but when I change it to "windows application" to "android" the connection simply disconnects.
I know the question is wage, I know you all expect sample source... If I had a place to put the sample, I would definitely put it!
- I am using Mono for Android Api 12 Emulator
- I already forwarded the TCP port using emulator telnet console 'redir' command
- connection establishes but data does not being received on the server (android side)
any help/sample/guide will be appreciated
It is possible to have Async Socket in Android using Mono. there is no specific difference with windows application for this scenario. my problem was actually from de-serializing the message which caused the connection to stop. problem solved by adding new DesrializationBinder and changing AssemblyName for Android namespace.