I need a code that connects 3 computers

hi
I am new to java
I need a java program to that connects three computers. The program should give the
users the ability to:
? send messages to another computer
? send messages to two other computers
? receive messages from all or any one computer
? typing messages should not block receiving messages
can anybody please post the code
thank you

pavani wrote:
hihi
I am new to javaCongrats
I need a java program to that connects three computers. The program should give the
users the ability to:
• send messages to another computer
• send messages to two other computers
• receive messages from all or any one computer
• typing messages should not block receiving messages
can anybody please post the codeNo. This isn't a fuckin code mill. If you want the code either buy it or create it yourself. If you do create it yourself, we can help you if you hit stumbling blocks, but it still has to be your work and your code.
thank youYou're welcome.

Similar Messages

  • Sample Servlet code that connects to Microsoft SQL 2008

    Does anybody have sample Servlet code that connects to a Microsoft SQL 2008 Resource Pool?
    Thank you.

    JDBC is used to talk to databases. Not database utilities. As an example SSIS is not a database.
    So the question would be is the 2008 "Resource Governor" (of which "Resource Pools" are part) a utility or a database entity?
    [http://technet.microsoft.com/en-us/library/bb933866.aspx]
    I would guess that it isn't a database entity.
    Thus the only way to access it is if a database entity allows you do access it. And for that you would need to look for SQL Server system proc(s).

  • Urget Help --- Please give me the core java code that connects to UNIX ser

    Can anyone provide the core java code that connects UNIX server after verifying credentials and allow to implements UNIX commands through java program?

    no, you don't want to do that.
    You want to connect yourself, which Java is quite capable of doing, rather than go through some 3rd party client program that's not only specific to a particular operating system but not guaranteed to be installed at any particular machine or if it is to be installed in such a way that you can start it from your Java program.
    And then there's the little matter of figuring out the external API to use that program in the way you intent to (if it has one).

  • Need SOAP example that connect to Oracle DB

    Hi, I have setup the Oracle SOAP service and have successfully
    deployed several trivial SOAP services.
    I have also created some simple JDBC code that queries
    scott/tiger database successfully.
    WHat I have not been able to do is make the JDBC code pass back
    a SOAP response. I have seen no examples of how to do this.
    If this is not the correct forum to be asking this question,
    please direct me.
    Thanks in advance, Gary Grubb

    You are right, the I got that url may not be correct. I got it from datadirect documentation.
    I couldn�t find any good information or examples on this, but I think using TNS keyword-value pairs and tnsnames.ora is supported by type4 Oracle 10g JDBC.
    Some info I found in section �Connecting to the Database through the Applet� in JDBC Reference http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/jdbcthin.htm#CACCHECD
    I guess there is something off in that documentation though. I couldn't get it working.

  • Need Flash Player that connects 2 FMS2

    Hello
    I have set up a Flash Media Server 2.04. It is up and
    running.
    I need a Flash Player like the flowplayer to connect to the
    FMS2. I am going to build the player into a php file.
    I know many of you are able to write the player by themselve,
    but I need a version that is fully tested and working. I am also
    willed to pay money.
    I found the flowplayer at
    http://flowplayer.sourceforge.net/howto.html,
    it describes that it is able to handle fms2 but it is not able to
    play the movie. Why do i know? I downloaded the the test suite form
    http://blogs.adobe.com/dreaming/2006/11/fms_resource_center.html
    and tested the fms with taht and it worked out.
    Therefore I need a player that works.
    Please report me some links or send me a pm to
    [email protected]
    Marco

    Flash is not supported on the iPad - and as Adobe have never managed to make a version of their flash player that works on iOS devices, and have announced that they are stopping development on all mobile versions of it, it probably never will be.
    Browser apps such as Skyfire, iSwifter, Puffin and Photon 'work' on some sites, but judging by their reviews not all sites. Also some websites, especially news sites, have their own apps in the App Store.
    If you do a search on this forum you will find hundreds of other threads on the subject.

  • Xi Fi Platinum, in need of wires that connect the drive with the c

    Hey I've had a xi fi platinum for more than a year now but only now am I attempting to use spdif optical rather than analog. the only way to do that is to connect the dri've (which previously i didn't have connected) to the card. but i lost the wires that connect the card to the dri've. does anyone know where I can get them, or if it is possible to purchase them from creative? or, is there another way to connect optical to the platinum?
    thanks a lot.

    I was in the same boat a week ago. Have a look here:
    http://www.bestbyteinc.com/Cables_&_Misc._Accessories/IDE_Cables/Black_8inch_Single_IDE_ULTRA_ATA_Cable,_40c_x_80p_ 2_conn_0-8/Page_/CBL-IBK-82.html
    Now a question for all of you digital experts. Is there any particular reason why the S/PDIF connection from the X-Fi to my HT receiver is sounding inferior to the S/PDIF connection from my DVD player? The cable run from the X-Fi output is a bit long (75 ft.), but I didn't think that would matter as it's impossible to distort a digital signal. Is there perhaps a setting in the audio console that is messing up the signal?
    Thanks,
    Scott

  • Need sample code to connect MDM using JCA

    hi friends,
    I want to connect MDM server using JCA
    can you please provide me the sample code for that.
    Regards,
    Venki

    Hello Venki,
    why do you want to use JCo for connecting to MDM? MDM has its own specific Java API for this task. There's no need for using JCo at all.
    BR Michael.

  • Need sample code to connect MDM using JCO

    hi friends,
    I want to connect MDM server using JCO,
    can you please provide me the sample code for that.
    Regards,
    Venki.

    Hello Venki,
    why do you want to use JCo for connecting to MDM? MDM has its own specific Java API for this task. There's no need for using JCo at all.
    BR Michael.

  • I need a code that allows me to show a "Please Wait" Dialog while performing a lengthy operation

    Hi,
    I have very basic knowledge of C++ and I don't understand completely how this works. I have been trying to use pthreads in order to be able to show a "Please Wait" Dialog while performing a lengthy operation. The problem is that the dialog
    box is showing up with a blank box where the label should go. Could you please modify the following code so that the program does what I am looking for? (note that I have pasted the sections of the program I think are useful for someone to provide an answer).
    void *run_optimization( void *ptr );
    void *run_optimization( void *ptr )
    Solution x = Optimizer(); // Lengthy operation
    const int * const SolArray = x.getDiscreteSolution();
    return 0;
    namespace RCM {
    private: System::Void button2_Click(System::Object^  sender, System::EventArgs^  e) {
    Processing^ Proc = gcnew Processing();
    Proc->Show(); // this is the "Please Wait" Dialog
    pthread_t thread1;
    int ret1;
    ret1 = pthread_create( &thread1, NULL, run_optimization, NULL);
    pthread_join( thread1, NULL);
    Thank you!!
    EDIT:
    I have tried the following:
    void *run_optimization( void ^ptr );
    void *run_optimization( void ^ptr )
    Processing^ Proc = (Processing ^)ptr;
    Solution x = Optimizer(); // Lengthy operation
    const int * const SolArray = x.getDiscreteSolution();
    Proc->Close();
    return 0;
    namespace RCM {
    private: System::Void button2_Click(System::Object^  sender, System::EventArgs^  e) {
    Processing^ Proc = gcnew Processing();
    pthread_t thread1;
    int ret1;
    ret1 = pthread_create( &thread1, NULL, run_optimization, (void *)Proc);
    Proc->Show(); // this is the "Please Wait" Dialog
    But I am getting the following error:
    error C2440: 'type cast' : cannot convert from 'RCM::Processing ^' to 'void *'

    Hi Shu!
    It runs in windows. I am using Visual Studio 2010 (and I can't use another version) which still doesn't have the threads integrated as I have read. So I am using POSIX threads for windows. 
    Regarding the other question, I don't really know what either of those (.net framework library or native API) mean. I am sorry but I am really new at this and really don't know much but I am doing my best because I have to get this done.
    I only know basic C++ but had to use C++/CLI windows forms because of a code I integrated in my program for running macros in excel and it was in C++/CLI.
    Thank you for your help!
    You cannot pass a managed handle to void* (as you have discovered).
    If you really want to use Posix threads, you probably need to make your Processing class a normal C++ class, not a C++/CLI ref class.
    But the .NET way to do this would be to use a BackgroundWorker:
    https://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker%28v=vs.110%29.aspx
    David Wilkinson | Visual C++ MVP

  • VBA code to connect Essbase from Excel

    Hi All,
    I need VBA code to connect & retrive the data from Essbase trough Excel sheet ....Please advise...
    Regards,
    Prabhas

    KVC wrote:
    As gleen advised install essbase excel addin before going to use below script
    create push button to trigger below script
    press Alt F11create module copy the below module and ur done
    Sub main()
    X = EssVConnect("[Book1.xls]Sheet1", "admin", "password", "EssbaseServerName", "Sample", "Basic")
    ‘Replace all the above parameters according to you environment.
    '("[Book1.xls]Sheet1" > Excel filename where this code is written followed by the sheetname
    'admin > username who has access to this application/database
    'EssbaseServerName > essbase analytic server name
    'Sample > application name
    'Basic > database name
    If X = 0 Then
    MsgBox ("Essbase connect is successful.")
    Else
    MsgBox ("Essbase connection failed.")
    End If
    X = EssVRetrieve("[Book1.xls]Sheet1", range("A1:F12"), 1)
    If X = 0 Then
    MsgBox ("Essbase retrieve is successful.")
    Else
    MsgBox ("Essbase retrieval failed.")
    End If
    for Disconnect
    X = EssVDisconnect(Empty)
    If X = 0 Then
    MsgBox ("Essbase disconnect is successful.")
    Else
    MsgBox ("Essbase disconnect failed.")
    End If
    End SubKVC ...Thanks for your Help...

  • I can´t remember the security code to unblock my iPod touch and when I try to synchronize it with iTunes I can´t because it ask me to introduce the code that I don´t remember. In my iPod says that it is desactivated and I need to connect to iTunes...

    I can´t remember the security code to unblock my iPod touch and when I try to synchronize it with iTunes I can´t because it ask me to introduce the code that I don´t remember. In my iPod says that it is desactivated and I need to connect to iTunes...so It returns me to the begining...
    I already tried to reset the iPod, but it did´t work....
    I need to activate again my iPod...Help!!

    Place the iPod in Recovery mode and connect to your computer and restore via iTunes.
    Recovery mode

  • I bought an ipod for my grandaughter and it says ipod disabled  and under that connect to itunes. When i connect to itunes it says cant read because it is locked with security code. Grand-daughter doesn't remember the code she put in.  Can anyone help?

    I bought an ipod for my granddaughter and it says ipod disabled and under that connect to itunes. When i connect to iturnes it says i need a passcode. My granddaughter doesnt remember what pass code she put in. Can anyone help granny please?????????

    we can connect iturnes but we cant buy from it because it ask for security question and i dont know it and none one else

  • Need help with WMI code that will send output to db

    'm new to WMI code writing, so I need some help with writing code that we can store on our server. I want this code to run when a user logs into their computer
    and talks to our server. I also want the code to:
    * check the users computer and find all installed patches
    * the date the patches were installed
    * the serial number of the users computer
    * the computer name, os version, last boot up time, and mac address
    and then have all this output to a database file. At the command prompt I've tried:
    wmic qfe get description, hotfixid
    This does return the patch information I'm looking for, but how do I combine that line of code with:
    wmic os get version, csname, serialnumber, lastbootuptime
    and
    wmic nicconfig get macaddress
    and then get all this to output to a database file?

    Thank you for the links. I checked out http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx and
    found lots of good information. I also found a good command that will print information to a text file.
    Basically what I'm trying to do is retrieve a list of all installed updates (Windows updates and 3rd party updates). I do like that the below code because it gives me the KB numbers for the Windows updates. I need this information so my IT co-workers &
    I can keep track of which of our user computers need a patch/update installed and preferably which patch/update. The minimum we want to know is which patches / updates have been installed on which computer. If you wondering why we don't have Windows automatic
    updates enable, that's because we are not allowed to.   
    This is my code so far. 
    #if you want the computer name, use this command
    get-content env:computername
    $computer = get-content env:computername
    #list of installed patches
    Get-Hotfix -ComputerName $computer#create a text file listing this information
    Get-Hotfix > 'C:\users\little e\Documents\WMI help\PowerShell\printOutPatchList.txt'
    I know you don't want to tell me the code that will print this out to a database (regardless if it's Access or SQL), and that's find. But maybe you can tell me this. Is it possible to have the results of this sent to a database file or do I need to go into
    SQL and write code for SQL to go out and grab the data from an Excel file or txt file? If I'm understanding this stuff so far, then I suspect that it can be done both ways, but the code needs to be written correctly for this to happen. If it's true, then which
    way is best (code in PowerShell to send information to SQL or SQL go get the information from the text file or Excel file)?

  • HT1539 I keep getting an error code that says "code redemption temporarily unavailable try again later". how long do I need to wait to try again?

    I keep getting an error code that says "code redemption temporarily unavailable try again later". how long do I need to wait to try again?

    Hi, Kenny. 
    Thank you for visiting Apple Support Communities. 
    There are a couple things that I would recommend trying.  Try closing all open applications and power cycle the device.  Next, go through the section labeled Troubleshoot issues on an iPhone, iPad, or iPod touch in the second article below.  If the issue persists, try completely signing out of the iTunes Store on the iOS device and sign back in.  Be sure to test downloading an application after each step. 
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Cheers,
    Jason H. 

  • I'm about to buy a 27" i-Mac. I would like to connect my 30" Cinema Display to it as a second monitor. What will I need to do that? Will this slow down the overal performance?

    I'm about to buy a 27" i-Mac. I would like to connect my 30" Cinema Display to it as a second monitor. What will I need to do that? Will this slow down the overall performance?

    The new iMacs do not come with a MiniDisplayPort, they have Thunderbolt, so unless you are talking about purchasing one of the previous generation iMacs such as this refurbished model in the online Apple store, it won't work. And yes, if you are going to get the full range of video resolutions you will need the Dual-Link version.
    For details see the store's web page on the Dual-Link display adapter.

Maybe you are looking for