2 clients communicates between them through a server

Hy. I am building a client server application with multiple clients. How can I make this: clients communicates between them through a server.Anyone can give me an idea???Or some help??Please

killer8685 wrote:
Yes I know how to send message from server to client, and know how to send from client to server, but i don't know how to send from server to a different client, not to that who sent a message to server.Can u help??The server has a list of clients (sockets and outputstreams), right?
Let's make it easy and send the message to all connected clients, that means that the one that sent the message also will get it. That means that the server should iterate over the list of clients (outputstreams or whatever you have) and send the message to all of them.

Similar Messages

  • How to setup cluster members on different os and communicate between them ?

    Hi ,
    I was wondering how to set up a cluster environment with members say c1 and c2, where c1 will be on windows and c2 will be on solaris(sparc) platforms with Sun Java System App Server 9.1 and then to control and communicate effectively. We have a Sun Java Syst. Web Server 7.0 as the web server.
    Any help will be highly appreciated.
    Enthusiast.

    Could you explain the rationale behind this configuration? We've had inquiries in the past about mixing Solaris/SPARC and Solaris/X64 in clusters but never this diversity of operating environment.
    I'm not entirely sure you need a cluster per se. Forgive my ignorance, but doesn't SJS App Server have some sort of build-in clustering capability? If so, why do you need, in this limited circumstance, a cluster framework? You wouldn't be able to have a common file system (endian issues, etc) any way.
    Regards,
    Tim
    ---

  • Can Simple Data Client/Server VIs communicate between computers?

    I am having trouble using the Simple Data Client VI / Simple Data Server VI to communicate between computers? Can these VIs do this ..or do they simply communicate between each other on a single computer? TIA.

    NO it can be used between two computers. You have to replace the localhist string with the IP address of the computer running the server and make sure that the server computer is allowing external connections on the specified port.
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • Best way to connect mac clients through Lion Server to AD?

    Ok, so here's what we are trying to set up for our school network. We currently have a 2003 server system hosting our PCs.
    Authentication - through 2003 server AD
    When client logs in:
    Mac Client -------sends info to --------> Lion Server ----passed data through to-----> 2003 Server
    2003 Server -----responds with authentication----> Lion Server ---applies profile management to client------> Mac Client
    My thought is that Lion Server needs to connect to the 2003 server via the active directory setup in Users and Groups, but the clients should be connecting to the Lion server via LDAP3.
    We can authenticate to the AD server directly from the clients or from the server, no issues there. Yet putting the Lion Server in "attached to another server" mode in Server Admin Tools doesn't Kerberize, even after giving proper permissions to the server via AD. I'm assuming that Kerberization needs to happen in order for Lion server to pass ther login data from the mac client to the 2003 server and vice versa, right?
    Also, we would like to have the users' 2003 network user folders on the desktop automatically, or preferrably what they access when they go to Home. I noticed some options in Profile Manager as well as Workgroup Manager to make this happen. I assume that once the data between the 3 is working proerly, this will be close to a no-brainer.
    So, advice is much appreciated here, first time setting up this type of hybrid system. Thanks!

    I appreciate all your help. I really do.
    This is basically what I needed to know - You said,
    "The audio out on a TV will source whatever input is associated with the current screen."
    With my current macmini to TV setup - I have to have a separate audio line (apart from the dvi cable for video ) to the TV. I was not sure if that macmini audio line to the TV would transfer to the receiver. If it did not then I assumed (since the macmini only has one audio out line that I would have to split that audio line - one to the TV and one to the receiver ). That was my thinking anyway, but if whatever is on the screen will transport to the receiver then I should have no problem.
    Thank you again for helping me think through this.
    Pete

  • VPN between ASA5505 Easy VPN Server and 881G Router as Easy VPN Client

    Hello,
    I have problem in VPN between ASA5505 Easy VPN Server and 881G Router as Easy VPN Client. ASA 5505 have 7.2.3 software and 881G router have 15.1 software.
    881G is configured as hardware client in network exstention mode, and it is placed behind NAT. ASA5505 is working as server. Same VPN Group works correctly from VPN software clients.
    When I send traffic from 881G client side, in show cryto sessin detail I see encrypted packets. But with same command I dont see decrypted packet on ASA5505 side. On both devices Phase 1 and Phase 2 are UP. 
    VPN is working when I replace ASA5505 with ASA5510  correctly with have 8.4.6 software. But problem is that i need to do this VPN between ASA5505 and 881G.
    Can you help me, how can I debug or troubleshoot this problem ?
    I am unable to update software on ASA5505 side.

    Hello,
    Hire is what my config look like:
    crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
    crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
    crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
    crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
    crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
    crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
    crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
    crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
    crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
    crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
    crypto dynamic-map outside_dyn_map 20 set pfs
    crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-SHA
    crypto dynamic-map outside_dyn_map 40 set pfs
    crypto dynamic-map outside_dyn_map 40 set transform-set ESP-3DES-SHA
    crypto dynamic-map outside_dyn_map 60 set pfs
    crypto dynamic-map outside_dyn_map 60 set transform-set ESP-3DES-SHA
    crypto dynamic-map outside_dyn_map 80 set pfs
    crypto dynamic-map outside_dyn_map 80 set transform-set ESP-3DES-SHA
    crypto dynamic-map outside_dyn_map 100 set pfs
    crypto dynamic-map outside_dyn_map 100 set transform-set ESP-3DES-SHA
    crypto dynamic-map outside_dyn_map 120 set pfs
    crypto dynamic-map outside_dyn_map 120 set transform-set ESP-3DES-SHA
    crypto dynamic-map outside_dyn_map 140 set pfs
    crypto dynamic-map outside_dyn_map 140 set transform-set ESP-AES-128-SHA
    crypto dynamic-map outside_dyn_map 160 set pfs
    crypto dynamic-map outside_dyn_map 160 set transform-set ESP-3DES-SHA
    crypto dynamic-map outside_dyn_map 180 set pfs
    crypto dynamic-map outside_dyn_map 180 set transform-set ESP-3DES-SHA
    crypto dynamic-map outside_dyn_map 200 set pfs
    crypto dynamic-map outside_dyn_map 200 set transform-set ESP-AES-256-SHA
    crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
    crypto map outside_map interface outside
    crypto isakmp enable outside
    crypto isakmp policy 1
     authentication pre-share
     encryption 3des
     hash sha
     group 2
     lifetime 86400
    crypto isakmp policy 2
     authentication pre-share
     encryption 3des
     hash sha
     group 1
     lifetime 86400
    crypto isakmp policy 3
     authentication pre-share
     encryption des
     hash sha
     group 2
     lifetime 86400
    tunnel-group HW-CLIENT-GROUPR type ipsec-ra
    tunnel-group HW-CLIENT-GROUP general-attributes
     address-pool HW-CLIENT-GROUP-POOL
     default-group-policy HW-CLIENT-GROUP
    tunnel-group HW-CLIENT-GROUP ipsec-attributes
     pre-shared-key *******
    group-policy HW-CLIENT-GROUP internal
    group-policy HW-CLIENT-GROUP attributes
     password-storage enable
     split-tunnel-policy tunnelspecified
     split-tunnel-network-list value cisco_splitTunnelAcl
     nem enable

  • I have imported three gmail accounts into mac's mail client.  can i do anything to distinguish between them?  e.g., can i have each one appear in the mail list in a different color?  I don't want to do it by sender, but by email account.

    i have imported three gmail accounts into mac's mail client.  can i do anything to distinguish between them?  e.g., can i have each one appear in the mail list in a different color?  I don't want to do it by sender, but by email account.

    Welcome to the Apple Community.
    Enter the details of her second account at system preferences> mail, contacts & calendars.

  • I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server wher

    I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server where the PDFs open fine) I get an error 'There was an error processing a page. Invalid function resource' The other one just doesn't open at all. Can anyone help with this please?

    Hello,
    Are the pdf linked correctly in the website? Is this a public website? If yes, please post the link here.
    ~Deepak

  • How to track IP's of clients connecting to DB server through Apps Server

    My Application server address is like http://192.220.0.75:7779/forms90/f90servlet form=TEST.fmx&userid=@abc
    I can connect to Apps server from any computer using explorer with this address .
    for auditing when I connect to db server through Apps server then my audit table detect only server IP- 192.220.0.75 each time but when I connect by oracle DS or toad then my audit table detect each computers defferent IP address.
    how can I detect different users and IP addresses connecting to database server using apps server instead of apps server IP?

    You can try to use WebCache event_log, this one will show your clients IP or you can uncomment UseWebCacheIP ON in httpd.conf file, so you ensure that the access_log show the ip of the user and not of the server.
    Greetings.

  • Use EJB client to communicate between 2 systems

    I have 2 systems A and B located in separate machine.
    A will pass an XML Request String to B, and B will return
    an XML Response string to A.
    My friend told me to write an EJB client sitting between
    A and B, maybe there is a method called process() in EJB Client.
    A can call XML_Response = EJB.process(XML_Request);
    XML_Response process(XML_Request)
         XML_Response = B.process(XML_Request)
         return XML_Response
    My question is how to get started? My understanding is EJB client
    will use EJB Beans. Any ideas??

    I would use entity beans on both, and then use Message Driven as facades, the message driven beans would communicate between each of the servers.

  • A problem that how to communicate between PLC S7-300 and IA Server

    The PC running the OPC server is connected to PLC S7-300 via the RS232 serial port and the Siemens RS232-MPI adapter (product no. 6ES7972-0CA23-0XA0).
    But I encounter such problem when I create an object(S7_HMI)in IA Server:
    Step 1:
    links:http://www.simwe.com/forum/upload/2005/04/30/87472755.jpg
    Error message:
    Protocol error:Unexpected response from PLC
    links:http://www.simwe.com/forum/upload/2005/04/30/48471774.jpg
    When I communicate between S7-300 and PC by LOOKOUT 5.1,it works well.
    Could someone give me help? Thanks a lot.帖子被qzxin在05-08-2005 04:54 AM时编辑过了
    帖子被qzxin在05-08-2005 04:56 AM时编辑过了

    First of all, Thank You very much for Your answer.
    I'm using the TS Adapter that make the conversion from MPI to the serial bus.
    I have made yet control panels to supervisor systems with Omron PLCs and I correctly use the DataSocket with the DSC module: with Omron PLCs I've never had any problems of communications. The problems is now with Siemens. For the communication between control panel and PLC I have to use the internal modem of my computer and the OPC is S7_MPI of IA opc Server.I wondering if this OPC is ok for modem communications (inside there is a form to insert the phone number of the remote station) or if every kind of modem are compatible with S7-300 modem it has inside.I've noted that my computer modem don't do the phone number when i run the front panel!In running mode, if I take a look to the Block Diagram and I click the "Highlight Execution" button I don't see any animation on the code generated by the HMI Wizard to connect the only one tag to the DataSocket URL.
    Have You any other suggestions to solve the problem?
    Massimo Lazari

  • Exchange 2013 - Prevent Outlook Clients From Connecting To A CAS Server In A Different AD Site

    Hi all,
    I could really do with your help!
    We have 3 physical sites, A, B & C, with sites A & B having a really fast low latency links between them, so from an AD point of view they are 1 site.  Site C has links to both sites A & B, but the link is a lot slower.
    We have an exchange design with 3 servers (one located at each physical site) that will form a DAG spread over the 3 physical sites.  Ideally we will separate the CAS and mailbox server roles out and have them controlled by a hardware load balancer,
    however we can have both roles on the same server if required.
    What we want, is to prevent is a situation where an outlook client in site C connects to a CAS server in site A/B with the mail being hosted on a mailbox server in site C therefore traversing the network twice to get its mail.
    From doing the Microsoft training course, my understanding is that in Exchange 2013, the CAS server only proxy's the request on to the mailbox server and does not redirect the request to the CAS server in the site where the mailbox server resides.
    I have seen information online stating that a single namespace is the way to go as long as your site links/network bandwidth is good, but nothing to help with our scenario.
    Has anyone else come across this situation and how did you get round it?
    Thanks in advance :)

    Hi Johnson,
    Based on my knowledge, Outlook Client will connect to the CAS server which in local first.
    Please check whether the CAS server that in site C is healthy.
    If the CAS server in site C is healthy, please disable the CAS Load Balance for testing.
    Also found a useful blog for your reference:
    Exchange 2013 Client Access Server Role
    http://blogs.technet.com/b/exchange/archive/2013/01/25/exchange-2013-client-access-server-role.aspx
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • 2-java clients communicate with java based web-service

    I'm new 2 web-services.
    I need to create 2-java clients(a game like chess) & communicate them through a java based web-service.
    I can create the web service.(using Netbeans getting started tutorial.only the basic stuff)
    when we create the 2-clients are those should be web-clients or are they should be normal java
    applications.
    (clients should be GUI based)
    ??

    I'm new 2 web-services.
    I need to create 2-java clients(a game like chess) & communicate them through a java based web-service.
    I can create the web service.(using Netbeans getting started tutorial.only the basic stuff)
    when we create the 2-clients are those should be web-clients or are they should be normal java
    applications.
    (clients should be GUI based)
    ??

  • Driver to communicate between LabVIEW and Omron CJ1G PLC

    I am trying to communicate between my Omron PLC (Model CJ1G) and LabVIEW.  I want to be able to read specific registers and be able to display and save the data in LabVIEW.
    I have the "Idustrial Automation Servers for OPC" CD but my PLC model no. doesn't appear under the Omron options.
    What other options do I have?
    Thanks, in advance,
    Felipe

    Hi Felipe:
    I checked in our PLC compatibility database and the only Omrom PLCs that are supported are the following: C20, C200, C500, C1000, C2000, CQM, and CPM1.
    The PLCs that are suppored in the IA OPC server is based on the driver dll that was supplied to us by Omron. When newer PLCs are released, they are not included in this dll and are thus not supported. You might want to contact Omron to see which OPC Server supports that PLC. You should be able to use any 3rd party OPC Server to work with DSC which will then be the OPC Client.
    Hope this helps.
    Best Regards,
    Jaideep

  • How to use REFNUM to communicate between Tab Control Indicator panel and subVI without explicit connections?

    Hi! One of my test programs needs to show many readings on the fron panel. I used a 4 page Tab Control to separate
    different catagory readings and put them in the clusters. If I connect these indicator clusters to the subVI by refnum explicitly, the program runs too slow. So I am trying to make the subVI communicate with the front panel without explicite refnum connection. So far, the subVI can communicate with the clusters on the front panel but not on the Tab Controls. Is anyone can give me some ideas how to communicate/pass the data to the clustes on the
    Tab Control? Thanks,

    Hi Qian,
    If I understand the question correctly; you want to know if there is some other way to access the controls on the tab control without actually using a refnum from the VI that has the controls.
    To answer this question I would say that LabVIEW is a very powerful programming language and one of the very cool features is that it gives you access to all the controls on a VI into another VI without actually passing any data between them.
    The best way to do this would be using VI Server. The functions that you need to call would be Open VI reference to open a reference to your VI having all the controls. Then use a combination of Invoke nodes and Property node get access to the controls on the front panel of your VI.
    Do let me know if you have further questions.
    Ankita A.

  • Cannot access server in HQ through proxy server

    Hi Experts,
    We have a TMG 2010 installed and clients are accessing Internet through it.
    And now there is an access problem to the destinatined server in HQ in another country, and it was fine to reach the destinated server before the servere changed its IP.
    When trying to accesss the destinated server with new IP, the TMG log and report shows the connection status with
    12030: The connection with the server was terminated abnoramlly.
    While there is another guest segment that allows Internet access without proxy server, and they are able to access the server with no problem at all.
    When I captured packets using Wireshark from the pc and found that the connection was actually from the pc to proxy server with the following result:
    from PC to Proxy server
    CONNECT xxx.xxx.com:443 HTTP/1.0
    from Proxy server to PC
    HTTP/1.1 502 Proxy Error (The connection with the server was terminated abnormally) (text/html)
    Would there be a configuration problem inside TMG?
    When i include the domain in https inspection exemption list, is that means client would be able to reach ther destination without being inspected?
    Then how about the incoming connection? Is there any rules which will restrict HTTPS inbound?
    Apart from above problem, clients also not able access some of https website such as banking with CA's, and no problem using guest segment (not through proxy server).
    Thanks in advance
    Ben

    Hi,
    >>And now there is an access problem to the destinatined server in HQ in another country, and it was fine to reach the destinated server before the servere changed its IP.
    Have you tried to re-create the rule to access the destinatined server after it changed the IP?
    >>When i include the domain in https inspection exemption list, is that means client would be able to reach ther destination without being inspected?
    When a site is added to the HTTPS inspection exclusion list, Forefront TMG does not check the site’s certificate for expiration or revocation. However, name mismatch and trust are always checked, unless the “No Validation” mark is set.
    Reference:Troubleshooting HTTPS inspection
    Best Regards,
    Joyce
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Maybe you are looking for

  • Material master data and Asset

    Hello Guys Considering the every material master data that I am buying will end up been an Asset in my company. I would like to know how can I alredy related the material master data that I am creating with a possible hierarchy to make it esier at th

  • Ipad 2 dosen't turn on, any suggestions?

    i was using my ipad 30 min ago, I left it and when I came back to use it again it dosen't turn on, any suggestions?

  • Missing "upgrade" radio button in MOPZ

    Hello. I've created a maintenance optimizer transaction in MOPZ for a BW 3.5, with the aim of selecting the support packages to be included in the Upgrade to BI 7.0 EHP2 . The system  is registered in SMSY as SAP NETWEAVER product, Product Version SA

  • Group mail in iOS7

    Can someone tell me how to send emails to a group in iOS 7? If it is still not possible can anyone tell me why? OK- it's no big deal to use the plus button to add individuals in a group one at a time but I question why my 'phone can't bulk send when

  • A connection to server could not be made hence proper authentication cannot be made please check your network..

    I am using Oracle 10g server for database and VB Dot Net application for my Office. These were worked properly in Windows Xp all versions but in windows 7 not working. I installed Oracle 10g client and added ODBC client successfully. server also comm