actually i don't want to use any server ...i just make an application on android for chatting ,and file transfer(audio,video )..,,,,,,so one emulator work as server another work as client and vice verse in different machines .through UDP...
On Jul 3, 6:36 pm, lbcoder <[email protected]> wrote: > 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 ofclient/servercommunications -- 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 > usingtwodifferent 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 selectingbetweenTCP and > UDP. Are you looking for a 1-off open-request-response-closecommunication? 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 ofclientservercommunicationwhich > > capable to communicatebetweentwo computersin diff emulator .... > > > like M1 is first machine(PC) on that E1 (emulator) is running with > >serverand on other M2 machine(PC) on thatclientrunning 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 -~----------~----~----~----~------~----~------~--~---
