Sure. Server: http://httpd.apache.org/ Client: https://developer.mozilla.org/en/download_mozilla_source_code
Seriously though... this is a ridiculous request. There are THOUSANDS of examples of client/server communications -- a little google search will lead you to all kinds of things; http://www.linuxhowtos.org/C_C++/socket.htm The machines being used are irrelevant, or even the fact that you are using two different machines, the communications work the same way. Now here's the thing; you haven't specified any kind of requirements. What do you need to accomplish? Is data integrity paramount or is performance? This distinction is required in selecting between TCP and UDP. Are you looking for a 1-off open-request-response-close communication? Or are you looking for a more ongoing conversation? Synchronous or asynchronous? Are there any existing high-level protocols that suit your needs (i.e. HTTP)? If you're programming an android application, use of standard protocols is much easier than having to develop your own... For instance, if you can use HTTP, you can simply make use of the HttpClient class. If you need to work out your own protocol, you may need to work with the Socket class. On Jul 3, 12:29 am, sumit <[email protected]> wrote: > hello all , > > can any body give me full code of client server communication which > capable to communicate between two computers in diff emulator .... > > like M1 is first machine(PC) on that E1 (emulator) is running with > server and on other M2 machine(PC) on that client running on E2 > (emulator) .i want to communicated b/w them .... > > can any body have a running application for that ............ > > thanks in advance ............... > > Sumit --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
