Disconnecting clients from Streaming Server

Hello,
We have Streaming Server installed to stream online-seminars to the clients. We want to manually disconnect some clients during the translation while leaving others online. What is the way to do it? Clients connect to server by opening a web-page on the other web-server with embedded flash player which has the source streamer uri rtmp://our_server/live.
Thank you,
Olga Butygina.

Спасибо за ответ!
У нас как раз php-сайт c данными о клиентах в mysql, так что предлагаемый вариант - то что надо. Одна проблема: мы используем уже готовый плеер (http://www.longtailvideo.com/players/jw-flv-player/) и не задумывались о разработке собственного флэшового плеера.
Разреши задать тебе пару вопросов.
1. Такой плеер, способный общаться с php-сервером, можно написать на Flex в свободном IDE или же требуется Flash Professional? Насколько я знаю, во Flash уже есть готовый компонент FLVPlayBack, можно ли без него обойтись во Flex?
2. С помощью Loadvars можно также посылать серверу информацию о запуске проигрывателя для пополнения счетчика просмотров или есть более простой способ внедрить такой посыльщик запроса в обычный swf, содержащий видео?
С уважением,
Ольга Бутыгина.

Similar Messages

  • Kicking out a client from rmi server

    I have a few clients on a rmi server .
    how can I disconnect a client from the server?
    the client is an applet.
    I treid calling a method containning System.exit(0)
    from the server on to the client but it throws a
    java.securtiy .. exception?
    so how can I close down the client applet from the server?
    thanks

    please help
    shall I throw a remote exception on the server

  • Is it possible to lock the keyboard of a client from a server using java

    please explain wheterit is possible to lock the keyboard of a client from a server using java

    You want to process code on one machine, and thereby lock the keyboard on another machine? No, that's not possible. It is extremely far from possible.
    Of course, if the client is running software with security holes in it you might hack into it and crash the thing. This will lock up the keyboard pretty good. I hope that's not what you want ...
    Or are you talking about a setup where you already have code running on the client, and some sort of communication between client and server? In that case what you need to know is whether it is possible to lock the keyboard at all. Once you have figured that out, it is trivial to add the communication code to have the server software tell the client software to lock the keyboard.
    So what do you mean with "lock the keyboard"? It's pretty easy to remove/disable all keyboard related listeners in your own application. It's a lot harder (and AFAIK impossible with pure java) to disable alt-tabbing out of the application. And impossible, except from exploiting security holes, to lock the ctrl-alt-delete-combination on windows machine.

  • Host Custom client from TES server?

    I am working on a custom webapp client for Cisco Tidal Enterprise Scheduler that will let me quickly view running jobs, restart jobs, etc. (similar to the iOS app offers).  The intent is to only show the features that I want and need quick access to.  My plan is to write everything in HTML5 and Javascript (no server side scripting).  I've quickly realized that my XmlHttpRequests and Ajax requests to the TES REST API are failing because of the Same Origin Policy enforced by browsers which prevents cross site scripting.  I am currently developing locally on my personal machine and so the requests are originating from outside of the TES domain.
    Is it possible to host my custom web client from the Tidal Server itself, and is this likely to fix the cross site origin issues I am having?  Does anyone have advice regarding this issue?  I am relatively new to Tidal and appreciate any help regarding this.

    Thanks for your input. Yeah, the article has been there for quite sometimes. That's why I am a bit sceptical about using it. The strange thing is that there has not been any updates about this topic since then (searched in google and not many web pages are mentioning this thing). I am wondering whether it is a good choice to change the code or not.

  • How to remove disconnected client from admin console

    Hi All,
    I have developed a video chat application and during my testing, I found that if video chat is going on and in between the call if some one unplugged Internet cable then FMS admin console is taking too much time to disconnect as well as remove from list.
    Is there any way to remove disconnected client immediately from admin console then please help me either by doing any configuration or logic.
    Thanks
    Ram

    You can set the AutoCloseIdleClients parameter for your application (simple), or write your own active detection method (harder).
    Here is a link to old documentation for AutoCloseIdleClients:
    http://livedocs.adobe.com/flashmediaserver/3.0/docs/help.html?content=03_configtasks_18.ht ml

  • Cannot ping RRAS Client from RRAS server.

    I have recently created an RRAS pptp connection for an outside network. The RRAS client connects fine and can ping the RRAS server and every device on the RRAS servers local network. The RRAS server cannot ping the remote pptp client nor can any device on
    the RRAS servers local network. RRAS is configured to be within the same subnet as the RRAS servers local network. On connection it pulls from a static IP pool.
    Any help is truly appreciated

    The server is behind a nat device and for testing purposes i have disabled the firewall on both devices. Also I am having an issue where the pptp connection just stops accepting and sending data to the rras server but if you look at the active connections
    the client never disconnects.  I have attached ipconfig information
    CLIENT
    Windows IP Configuration
       Host Name . . . . . . . . . . . . : Fellows-PC
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
    PPP adapter Welsh:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Welsh
       Physical Address. . . . . . . . . :
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       IPv4 Address. . . . . . . . . . . : 172.16.128.66(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.255
       Default Gateway . . . . . . . . . :
       NetBIOS over Tcpip. . . . . . . . : Enabled
    Ethernet adapter Local Area Connection:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
       Physical Address. . . . . . . . . : BC-5F-F4-75-C5-AD
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       Link-local IPv6 Address . . . . . : fe80::5418:aba9:4af2:1e12%11(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.1.2(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : Wednesday, March 26, 2014 8:35:58 AM
       Lease Expires . . . . . . . . . . : Saturday, March 29, 2014 8:35:58 AM
       Default Gateway . . . . . . . . . : 192.168.1.1
       DHCP Server . . . . . . . . . . . : 192.168.1.1
       DHCPv6 IAID . . . . . . . . . . . : 247226356
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-C3-16-85-BC-5F-F4-75-C5-AD
       DNS Servers . . . . . . . . . . . : 75.75.75.75
                                           75.75.76.76
       NetBIOS over Tcpip. . . . . . . . : Enabled
    Tunnel adapter isatap.{DF8CAC0D-588D-495A-9185-78C9992DC12F}:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter Teredo Tunneling Pseudo-Interface:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       IPv6 Address. . . . . . . . . . . : 2001:0:9d38:6abd:1c88:1312:b8c2:97a9(Pref
    erred)
       Link-local IPv6 Address . . . . . : fe80::1c88:1312:b8c2:97a9%12(Preferred)
       Default Gateway . . . . . . . . . : ::
       NetBIOS over Tcpip. . . . . . . . : Disabled
    Tunnel adapter isatap.{D8973397-8880-4110-A7F9-4D1F6A1C2E8C}:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    SERVER
    Windows IP Configuration
       Host Name . . . . . . . . . . . . : IMS
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Unknown
       IP Routing Enabled. . . . . . . . : Yes
       WINS Proxy Enabled. . . . . . . . : Yes
    PPP adapter RAS Server (Dial In) Interface:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
       Physical Address. . . . . . . . . : 00-53-45-00-00-00
       DHCP Enabled. . . . . . . . . . . : No
       IP Address. . . . . . . . . . . . : 172.16.128.65
       Subnet Mask . . . . . . . . . . . : 255.255.255.255
       Default Gateway . . . . . . . . . :
    Ethernet adapter Local Area Connection:
       Media State . . . . . . . . . . . : Media disconnected
       Description . . . . . . . . . . . : Broadcom BCM5709C NetXtreme II GigE (NDIS
     VBD Client)
       Physical Address. . . . . . . . . : 00-10-18-8D-BC-42
    Ethernet adapter Local Area Connection 2:
       Media State . . . . . . . . . . . : Media disconnected
       Description . . . . . . . . . . . : Broadcom BCM5709C NetXtreme II GigE (NDIS
     VBD Client) #2
       Physical Address. . . . . . . . . : 00-10-18-8D-BC-40
    Ethernet adapter Local Area Connection 4:
       Media State . . . . . . . . . . . : Media disconnected
       Description . . . . . . . . . . . : Broadcom BCM5716C NetXtreme II GigE (NDIS
     VBD Client)
       Physical Address. . . . . . . . . : 84-2B-2B-68-6A-FA
    Ethernet adapter Local Area Connection 3:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Broadcom BCM5716C NetXtreme II GigE (NDIS
     VBD Client) #2
       Physical Address. . . . . . . . . : 84-2B-2B-68-6A-F9
       DHCP Enabled. . . . . . . . . . . : No
       IP Address. . . . . . . . . . . . : 172.16.128.1
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . : 172.16.128.254
       DNS Servers . . . . . . . . . . . : 172.16.128.254
                                           75.75.75.75
       NetBIOS over Tcpip. . . . . . . . : Disabled

  • Can't authenticate Mac VPN client from RADIUS server

    Hello,
    I'm a real noob here so please bear with me.
    I have been able to configure my PIX 515E to allow VPN connections onto my network, but what I need to do is set up some sort of user authentication to control access at a user level. From what I've read here and in the Configuration Guide I should be able to do this authentication with a RADIUS server. I'm running a Corriente Networks Elektron Security server which has RADIUS server capabilities. It is running on my (inside) interface at IP 192.168.10.26.
    I thought that I had everything configured properly but it never seems to authenticate. I connect, the XAUTH window pops up, I add my username and password as it's configured on my RADIUS server, but when I click OK it just cycles the progress bar at the bottom and eventually times out. The client log doesn't show me anything and the log on the RADIUS server shows me nothing. Any ideas? this seems like it should be simple because I can connect until I attempt to authenticate to the RADIUS server.
    TIA for any direction you can provide me.
    Christine

    If it helps, here is my config with a some of the non-related bits deleted:
    interface ethernet0 auto
    interface ethernet1 auto
    interface ethernet2 auto
    nameif ethernet0 outside security0
    nameif ethernet1 inside security100
    nameif ethernet2 DMZ security50
    enable password ********* encrypted
    passwd ******* encrypted
    hostname pixfirewall
    domain-name acme.com
    fixup protocol dns maximum-length 512
    fixup protocol ftp 21
    fixup protocol http 80
    fixup protocol http 82
    fixup protocol rsh 514
    fixup protocol rtsp 554
    fixup protocol sip 5060
    fixup protocol sip udp 5060
    fixup protocol skinny 2000
    fixup protocol smtp 25
    access-list inside_outbound_nat0_acl permit ip any 192.168.10.0 255.255.255.0
    access-list inside_outbound_nat0_acl permit ip host 192.168.10.26 192.168.10.192 255.255.255.224
    access-list inside_outbound_nat0_acl permit ip host 192.168.10.69 192.168.10.192 255.255.255.224
    access-list outside_cryptomap_dyn_20 permit ip any 192.168.10.0 255.255.255.0
    access-list outside_cryptomap_dyn_40 permit ip any 192.168.10.192 255.255.255.224
    mtu outside 1500
    mtu inside 1500
    mtu DMZ 1500
    ip address outside 207.XXX.XXX.130 255.255.255.0
    ip address inside 192.168.10.1 255.255.255.0
    ip address DMZ 192.168.100.1 255.255.255.0
    multicast interface inside
    ip audit info action alarm
    ip audit attack action alarm
    ip local pool CBI_VPN_Pool 192.168.10.201-192.168.10.220
    pdm location 192.168.10.50 255.255.255.255 inside
    pdm group CBI_Servers inside
    pdm logging warnings 100
    pdm history enable
    arp timeout 14400
    global (outside) 200 interface
    global (DMZ) 200 interface
    nat (inside) 0 access-list inside_outbound_nat0_acl
    nat (inside) 200 192.168.10.0 255.255.255.0 0 0
    static (inside,outside) 207.XXX.XXX.150 192.168.10.27 netmask 255.255.255.255 0 0
    static (inside,outside) 207.XXX.XXX.132 192.168.10.26 dns netmask 255.255.255.255 0 0
    access-group 100 in interface outside
    route outside 0.0.0.0 0.0.0.0 207.XXX.XXX.129 1
    timeout xlate 3:00:00
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
    timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
    timeout uauth 0:05:00 absolute
    aaa-server radius-authport 1812
    aaa-server radius-acctport 1812
    aaa-server TACACS+ protocol tacacs+
    aaa-server RADIUS protocol radius
    aaa-server RADIUS (inside) host 192.168.10.26 ************* timeout 10
    aaa-server LOCAL protocol local
    http server enable
    http 192.168.10.3 255.255.255.255 inside
    no floodguard enable
    sysopt connection permit-ipsec
    crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
    crypto dynamic-map outside_dyn_map 20 match address outside_cryptomap_dyn_20
    crypto dynamic-map outside_dyn_map 20 set transform-set ESP-DES-MD5
    crypto dynamic-map outside_dyn_map 40 match address outside_cryptomap_dyn_40
    crypto dynamic-map outside_dyn_map 40 set transform-set ESP-DES-MD5
    crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
    crypto map outside_map client authentication RADIUS
    crypto map outside_map interface outside
    crypto map inside_map interface inside
    isakmp enable outside
    isakmp nat-traversal 3600
    isakmp policy 20 authentication pre-share
    isakmp policy 20 encryption des
    isakmp policy 20 hash md5
    isakmp policy 20 group 2
    isakmp policy 20 lifetime 86400
    vpngroup Test_VPN address-pool CBI_VPN_Pool
    vpngroup Test_VPN dns-server 142.77.2.101 142.77.2.36
    vpngroup Test_VPN default-domain acme.com
    vpngroup Test_VPN idle-time 1800
    vpngroup Test_VPN authentication-server RADIUS
    vpngroup Test_VPN user-authentication
    vpngroup Test_VPN user-idle-timeout 1200
    vpngroup Test_VPN password ********
    ssh timeout 5
    console timeout 0
    dhcpd address 192.168.10.100-192.168.10.254 inside
    dhcpd dns 142.77.2.101 142.77.2.36
    dhcpd lease 3600
    dhcpd ping_timeout 750
    dhcpd auto_config outside
    dhcpd enable inside

  • NFS - Solaris 10 client from Ubuntu server gives Rpcbind error

    Hello All,
    New to Solaris, and I've been scouring the Internet to find a solution, but none have been produced. I'll start by giving you details about the setups, and then go into the error:
    Server Setup:
    Ubuntu 8.04
    Exports file ->
    /home/<folder> <Solaris 10 Server DNS name>(rw,no_subtree_check,async)
    Client Setup:
    Solaris 10
    Set /etc/default/nfs to have NFS_CLIENT_VERSMAX=3
    Ran svcadm -v enable -r network/nfs/client and then tried
    mount -F nfs <Ubuntu Server DNS name>:/home/<folder> /mnt/test/
    and all I ever get are Rpcbind failure - RPC: Timed Out and then it says it's retrying: /mnt/test
    I've gotten the firewall out of the way, I can ping the Ubuntu server from the Solaris server and vice versa, and I'm able to mount the Ubuntu NFS share on another Ubuntu machine perfectly, but I can't get it to mount on the Solaris server. If I specify v3 of NFS, that doesn't change anything. If I specify v4 of NFS, I get the error that the file or folder doesn't exist on the Ubuntu server.
    Any ideas? Any more info needed?

    This is the exact same problem I've been having. My server is Ubuntu 8.10, and the client is Solaris 10. This is on my home network, so I'm pretty confident it isn't a network issue. I do NFS all the time at work between Solaris machines, but I'm stumped on this one. I've noticed there are similar threads on the topic with no real answer that I have found --
    http://www.linuxquestions.org/questions/linux-networking-3/nfs-server-on-ubuntu-doesnt-play-nice-with-nfs-client-on-solaris-626508/
    I did a dfshares from the Solaris box, and I actually get a response listing the shares. Even though I can see it I still can't mount it. Here is what I see:
    bash-3.00# dfshares tabasco
    RESOURCE SERVER ACCESS TRANSPORT
    tabasco:/media/Shared tabasco - -
    bash-3.00# mount -F nfs -o ro tabasco:/media/Shared /mnt
    nfs mount: tabasco:/media/Shared: No such file or directory
    bash-3.00#
    NFS is working on the server, as I can mount it locally (see below)
    root@tabasco:/# cat /etc/exports
    /media/Shared *(ro,sync)
    root@tabasco:/# mount tabasco:/media/Shared /mnt
    root@tabasco:/# cd /mnt
    root@tabasco:/mnt# ls
    Videos lost+found Music Pictures Other
    root@tabasco:/mnt#
    Yes... my server''s name is tabasco... remember it's a home network... and I like Tabasco... :)

  • Monitoring an applet on a thin client from the server

    Hello all,
    I'm not even sure if this is possible or not, but here is what I would like to do.
    I want to be able to monitor an applet running on a remote thin client device from the central server to determine if there have been any problems (exceptions, device failures, etc).
    I'll be using java 1.5.0. If you require more info please let me know.
    Thanks,

    But would anyone know if there is a similar method for applets?
    What makes you think you can't use that technique in an applet? Use that, and contact the server when there's an uncaught exception.
    You'll probably want to report a number of caught exceptions too (unless you're really bad at handling exceptions).
    Best bet is to use a utility class on your applet with a method like "logError(Throwable t, String message)" which will send the details up to the server, maybe output to the console, maybe even pop up a dialog. If you did this via an interface you could plug in different implementations and compound them if required.

  • Installing printer drivers on x86 and x64 OS clients from print server

    Hi experts,
    I have a print server win 2008 r2 with some printers installed on it including x86 and x64 drivers.
    1. I wanted to install printer drivers on x86 and x64 CLIENT OS (win 7/8 ) from the print server.  
    2. This installation should in in backend(hide mode). While installing it should not pop up on user desktop for installation.
    Could any one help me with a simple script. So i can get a get a idea. 
    I was using bellow script but it displays on desktop before installation.
    $nw=New-Object -ComObject WScript.Network
    $nw.AddWindowsPrinterConnection('\\ptprint\pg1-b')

    Hi Amitkumar,
    given your scenario, this script is probably what you are looking for:
    Add-PrinterDriver
    It will add all printerdrivers from shared printerobjects from a printer server.
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • How to move client from one server to other at remote location

    Dear All,
    We have two servers located in two different locations.Due to some network issues i am unable to do the remote client copy .
    Please suggest how do i take client 100 to other server which is at different location and on different platform.
    Source system is HP Unix Target system is on windows2003, database is oracle on both servers.
    Regards,
    Najeeb ..

    Dear Shark,
    Please check whether you have set archive logs.
    If you have set then please disable, it since it will increase size of /oracle/SID/oraarch.
    then you need to take achive backup. so all the above please ensure that no archive logs are generated.
    also check the size of PSAPUNDO and PSAPTEMP tablespace and if possible make its size large.
    Have you enabled Automated Undo managemant. if your database is oracle9 then you need to manually provide AUM or else it is automatic in higher oracle DB.
    Check the logs of Client copy using scc3.. all the best for all.
    Regards,
    Ganesh

  • Remove the updates Installed to the client from WSUS SERVER

    WSUS Server running on the Windows Server 2008 R2. Is there a way to get rid of updates that have been pushed out and installed on all client computers? because currently I am running out of disk space and I really don't want to increase the disk space
    further more.
    I tried the Server Cleanup Wizard but it didn't help much as it only cleans out unnecessary and declined updates.

    Hi,
    On current situation, please refer to the following article and check if can help you.
    What
    to do when your WSUSContent folder grows too large
    Based on your description, I understand that you know which updates had been installed. In other words, you
    know which updates will never be used. In WSUS server, please navigate to those updates and right click them, then select
    Decline. (Please note: if have downstream replica servers,
    please don’t Decline these updates directly). Then please run the Server Cleanup Wizard again and monitor the result. If anything I misunderstand, please don’t hesitate to let me know.
    In addition, this issue seems to be more related to WSUS configuration. As Dave suggested, posting this question
    in
    WSUS Forum will be better. I believe we will get a better assistance there.
    If any update, please feel free to let us know.
    Hope this helps.
    Best regards,
    Justin Gu

  • How to reinstall on client from Lion Server Time Machine backup?

    I have a Mac Mini running Lion Server and a black MacBook running Lion. I recently needed to to perform a format and reinstall of the MacBook, so I used the MacBook's Recovery HD partition and reinstalled Lion.  I then went back to Recovery HD to reinstall apps from my Time Machine backup' which is managed by the Lion Server Mac Mini. On first attempt, I saw the right files, but in the process it hung. I recently tried to do it again, and now it claims that there are no backups found.
    My suspicion is that as this is a Lion Server managed backup, it bundles the server backup and the MacBook backup in the same bundle. Revovery HD looks for the latest compete bundle, then finds the matching backup for the MacBook. However, if the Mini is continuing backups of its own, the more recent bundle backups only have mini info, not the MackBook, hence they "disappeared".
    I can see older backups when I look at the backup drive, so I suspect that my MacBook files are still there. 
    Any suggestions on how to recover and get my MacBook files reinstalled? I'm new to this home server thing, so any help would be greatly appreciated!
    Jason

    One partition 2.5TB will be my new Time Machine Backups and the other 2.5TB for iTunes Library so I never have to worry about this again.
    Your worry now is what will you do when the single hard drive containing both your library and its backup makes a screeching sound one day and is toast, or get stolen?
    from a YouTube video
    Uh-oh, those unspecific and sometimes incorrect YouTube videos.  I dislike those things. I watched one once and some kid droned on in a barely audible monotone for about 5 minutes to show how to do something to which I could have typed instructions in two sentences.
    Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519

  • Send data to multiple clients from a server

    My problem statement is this:
    A server is created, say X. Multiple clients are created, say A, B & C. If X sends a message to A it should reach only A and should not go to B or C. Similarly if X sends message to B it should not reach A or C. I made a one to one communication with the following code:
    //Server
    import java.io.*;
    import java.net.*;
    class X
    public static void main(String args[])throws Exception
    ServerSocket ss=new ServerSocket(4321);
    try
    Socket s=ss.accept();
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    DataOutputStream out = new DataOutputStream(s.getOutputStream());
    String str=in.readLine();
    out.writeBytes(str+"\n");
    s.close();
    ss.close();
    catch (IOException e){}
    //Client A
    import java.io.*;
    import java.net.*;
    class A
    public static void main(String args[])throws Exception
    try
    Socket s=new Socket("localhost",4321);
    BufferedReader in=new BufferedReader(new InputStreamReader(s.getInputStream()));
    System.out.println(in.readLine());
    s.close();
    catch(Exception e){}
    }But i dont know how to keep track of each client. Because all the clients sockets are created at the same port, ie. 4321. I think thread will help. But even then i dont know how to identify each client. Somebody please help. Thanks in advance.
    Edited by: sowndar on Dec 5, 2009 1:21 AM

    YoungWinston wrote:
    sowndar wrote:
    Ok. I think i have to attach an unique ID to each client message. So that, with the help of that ID, the server can identify each client. Have i caught ur point?If you don't mind using a port per client, you could do something like a receptionist taking incoming calls (on 4321 only).
    - Hi I'm Client xyz.
    - Hi Client xyz, please call me back on port abcd and I'll put you straight through to our server.
    Since 4321 is an "open line" you might have to have some sort of ID so that Clients know which return messages are meant for them, but messages on the other ports would all be direct Client to Server. Also, the Server is then is charge of port allocation and communication on the "open" port is kept to a minimum.4321 is the socket that the server is listening to. It's not what the actual communication will be carried out over. Run this, then telnet to port 12345 a few times
    public class TestServerSocket {
      public static void main(String[] args) throws Exception {
              ServerSocket server = new ServerSocket(12345);
              while (true) {
                   Socket socket = server.accept();
                   System.err.println(socket.getPort());
    }Notice how each inbound connection is allocated a unique outbound socket.

  • Clients losing bindings from mavericks server

    Hi,
    Yet another issue with Mavericks server. I have a Mavericks server with three replicas. This is a new install, only two weeks old. I have three hundred 10.8.5 clients bound to the directory and working fine. The issue started with a machine losing its binding, strange I thought. Maybe just a glitch, so I re- bound it with no problems. Two days later, another machine lost its binding for no reason. I rebound this too, I was starting to get that feeling in my stomach  that a lot of Apple admins must get.. The next day, after functioning fine all morning, every single machine lost its binding and the directory refused to respond. All the services appear up on the server, however I cannot bind to the server or any of the replicas. It seems that when a directory master goes bust, it takes the replicas directories down too. What is the point of having replicas if a corruption can spread like this???
    I have had to restore my entire hard drive from a backup. Has anyone had this problem? this operating system is in its third iteration in as many months.
    HOW DOES APPLE GET AWAY WITH THIS??

    More of the same for our company, too. All workstations on 10.9, I migrated from a 10.5 AFP server, which was super-stable (hence my reluctance to upgrade), to a 10.9 server. Its only function is file sharing.
    It seems that if a user is disconnected for any reason-- app nap (we disabled that), machine goes to sleep, user closes the laptop to go home without closing documents and disconnecting properly from the server-- the files become ghost files and nobody is able to open them. Attempting to open them results in unresponsive applications (typically MS Office 2011 apps), and an unresponsive finder. The only solution is to restart.
    I am asking users to try and remember to properly save and close documents, as well as log out of the server before they leave, but given the ability for years to just 'close and go' with 10.5 server, it's going to be a hard habit to break.
    The work around is to drag the document to the desktop, rename it, and move it back to the server. The original document is shown to be in use/locked and the only way to delete is via CLI, so I have to do that each time. The document cannot even be renamed to the original document's name, or it will again show in use/locked.
    Frustrating, and I'm really looking for a solution! My users are going to revolt. :/

Maybe you are looking for

  • How do you share music on one iMac between users???

    Hello, I would like to know how to share music on the same computer between users... My wife and I have different user accounts on our iMac and I can't figure out how to share music. I tried everything as told by Apple but it seems you can only share

  • How can I save a Custom Workspace in Illustrator CC?

    I believe I've found a major bug in Illustrator CC ...or to put it more aptly...what appears to be an omission. The help topic path that tells how to save a custom workspace in previous versions does not exist in Illustrator CC. Has this option been

  • When Exporting a Crystal Report to Excel format all of the dates get changed when viewed on Mac version of Excel

    We're using Crystal Reports 10 and when we export a report from the Crystal Viewer using either the MS Excel 97-2000 option or the MS Excel 97-2000 (Data Only) option, the date columns on the report appear as expected on a PC version of Excel, howeve

  • How to Migrate EJB Webservice from NW 7.0 to 7.3

    Hi, We have upgraded nw portal from 7.0 to 7.31. 1.how to migrate 7.0 ejb webservice to 7.3? 2.how to test webservice in portal 7.3. i did not find webservice perspective in nwds 7.3. please suggest how to acheive . Regards Srinivas

  • COPA Product wise profitability

    Hi Sapians I have execute an order settlement and variance is successfully posted in COPA Value field VV002(Qty variance) In product wise profitability report. System shows as follows: Product   Qty    Sales value   Cost @ Std price  order Variance V