Socket private chat coding help!!!

any one get the private chat coding in TCP/IP(socket connection). I have coding the chat program that can public chat but the private chat get problem.
anyone get the private chat tutorial and comment.....pls help me....
hong

Try searching around with Google. There are millions of chat programs all over the net with source.

Similar Messages

  • How to make a private chat look in another window

    hi
       iam new to flex
    and now what my question is when i double click on the particular user present in the chat room
    i should get chat open in new window
    is this possible please help out in this issue

    hi
       thanks for urs replys its helping a lot
    and now i wnt some information from u abt private chat
    see wt my doubt is iam getting user name and uid when i click on the user in the userlist with that iam creating an instance to the class "ChatMessageDescriptor" and with that iam sending msgs to the user clicked by the property recipient
    and iam initiating that private chat in seperate label privatechat space and now wt the problem is when i click on the username
    for example iam the user A and i clicked on user B the window gets open for userA and user A can send msgs to user B directly
    but where as in place of User B the window doesnot get open,  only when he clicks on User A  he is able to send msgs to User A and he can chat w User A directly from there on words
    so wt i want is how to intiate him that chat is open with User A  so click him in the userlist  or directly open him a window as soon as User A clicks
    User B is this possible plz refer my code u will get clearly understood the problem
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application layout="absolute"
        xmlns:mx="http://www.adobe.com/2006/mxml"
        applicationComplete="init()"
        xmlns:rtc="AfcsNameSpace">
        <mx:Script>
            <![CDATA[
                import com.adobe.rtc.pods.simpleChatClasses.ChatMessageDescriptor;
                import com.adobe.coreUI.controls.WhiteBoard;
                import com.adobe.rtc.sharedModel.SharedCollection;
                import com.adobe.rtc.sharedManagers.UserManager;
                import com.adobe.rtc.sharedManagers.descriptors.UserDescriptor;
                import mx.controls.listClasses.IListItemRenderer;
                import mx.controls.listClasses.ListBaseSelectionData;
                import mx.collections.IList;
                import mx.events.ItemClickEvent;
                import mx.controls.Alert;
                import com.adobe.rtc.events.AuthenticationEvent;
                import com.adobe.rtc.events.ConnectSessionEvent;
                import com.adobe.rtc.events.SessionEvent;
                import mx.core.IFlexDisplayObject;
                import mx.managers.PopUpManager;
                import flash.net.*;
                import mx.collections.ArrayCollection;
                import com.adobe.rtc.pods.simpleChatClasses.SimpleChatModel;
                import com.adobe.rtc.events.ChatEvent;
                private const applicationTitle:String = "AFCS Sample Application";
                  [Bindable]
           public var chatModel:SimpleChatModel;
           public var clickeduser:UserDescriptor = new UserDescriptor;
             public var userwnt:String=new String;
              public var clickusername:String=new String;
               public var selindex:int;
               public var count:int;
                private function init():void
                    sess.addEventListener(SessionEvent.ERROR, onEventNotification);
                    sess.addEventListener(SessionEvent.SYNCHRONIZATION_CHANGE, onEventNotification);
                    auth.addEventListener(AuthenticationEvent.AUTHENTICATION_FAILURE, onEventNotification);
                    auth.addEventListener(AuthenticationEvent.AUTHENTICATION_SUCCESS, onEventNotification);
                    popup(loginWindow);
                private function popup(window:IFlexDisplayObject):void
                    PopUpManager.addPopUp(window, this, true);
                    PopUpManager.centerPopUp(window);
                    window.visible = true;
                 * Process AFCS Events
                private function onEventNotification(p_event:Event):void
                    if (p_event.type == SessionEvent.SYNCHRONIZATION_CHANGE) {
                        if (sess.isSynchronized) {
                            // isSyncronized==true : we are connected to the room
                            panel.title = "Connected to room " + sess.roomURL;
                            PopUpManager.removePopUp(loginWindow);
                        } else {
                            // isSyncronized==false : we are disconnected from the room
                            panel.title = applicationTitle;
                            sess.roomURL = null;
                            notificationMessage.text = "";
                            popup(loginWindow);
                    else if (p_event.type == AuthenticationEvent.AUTHENTICATION_SUCCESS) {
                        // Authentication succeeded
                        notificationMessage.text = "Authentication Succeeded";
                    else if (p_event.type == AuthenticationEvent.AUTHENTICATION_FAILURE) {
                        // Authentication failed : bad password or invalid username
                        notificationMessage.text = "Authentication Failed";
                    else if (p_event.type == SessionEvent.ERROR) {
                        // Generic session error, but this can happen if you mispell the account/room names
                        // (sError.error.name == "INVALID_INSTANCE" and sError.error.message == "Invalid Instance")
                        var sError:SessionEvent = p_event as SessionEvent;
                        notificationMessage.text = sError.error.message;
                    else
                        notificationMessage.text = "Got event " + p_event;
                private function login():void
                    notificationMessage.text = "";
                    auth.userName = username.text;
                    auth.password = passwordBox.visible ? password.text : null; // password==null : the user is a guest
                     userwnt=username.text;
                    sess.roomURL = roomURL.text;       
                    sess.login();
                protected function buildModel():void
                    // Create the model: just calling the constructor won't create the collection node or pass the messages.
                    // Call subscribe and give it a shared ID while creating the model.
                    // The shared ID becomes the name of the collection node.
                      if(clickusername==userwnt)
                         Alert.show(clickusername);
                         viewStack.selectedChild=white;
                    chatModel = new SimpleChatModel();
                    chatModel.sharedID = "myChat_SimpleChatModel";                               
                    chatModel.subscribe();                       
                    chatModel.addEventListener(ChatEvent.HISTORY_CHANGE, onChatMsg);
                    this.addEventListener(KeyboardEvent.KEY_UP, onKeyStroke);
                 public var cmd:ChatMessageDescriptor = new ChatMessageDescriptor();
                public function userclick(bharath):void
                    count=0;     
                    selindex=bharath;
                    clickeduser= sess.userManager.userCollection[bharath] as UserDescriptor;
                    var orignaluser:UserDescriptor = sess.userManager.userCollection[0] as UserDescriptor;
                    var username=orignaluser.displayName;
                    clickusername=clickeduser.displayName;  
                    cmd= new ChatMessageDescriptor();           
                    cmd.recipient=clickeduser.userID;
                    cmd.recipientDisplayName=clickusername;
                    cmd.msg="hi";               
                    viewStack.selectedChild=white;
                      buildModel();                
                    chatModel.sendMessage(cmd);                                  
                    protected function clearChat():void
                    chat_mesg_area.text = "";
                    chatModel.clear();
                protected function submitChat(str:String):void
                 if(count==0)
                 clearChat();
                 count=1;
                var clickeduser:UserDescriptor = sess.userManager.userCollection[selindex] as UserDescriptor;
                var clickusername=clickeduser.displayName;  
                 cmd= new ChatMessageDescriptor();           
                    cmd.recipient=clickeduser.userID;
                    cmd.recipientDisplayName=clickusername;
                    cmd.msg=chat_mesg_input.text;                 
                    chatModel.sendMessage(cmd);
                    chat_mesg_input.text = "";               
                protected function onChatMsg(p_evt:ChatEvent):void
                    if(p_evt.message != null && p_evt.message.msg != null && p_evt.message.displayName != null)
                        chat_mesg_area.text += "\r\n" +  p_evt.message.displayName + ": " + p_evt.message.msg;
                    else
                        chat_mesg_area.text = "";   
                protected function onKeyStroke(p_evt:KeyboardEvent):void
                    if(p_evt.keyCode == Keyboard.ENTER) {
                        submitChat(chat_mesg_input.text);
            ]]>
        </mx:Script>       
        <rtc:AdobeHSAuthenticator id="auth"/>       
        <rtc:RoomSettings id="settings" autoPromote="true"/>
        <mx:Panel id="panel" title="{applicationTitle}" width="100%" height="100%" paddingLeft="5" paddingTop="5" paddingRight="5" paddingBottom="5">
            <!--
             | Login Dialog Box
             -->
            <mx:TitleWindow id="loginWindow" title="Connect to Room" visible="false">
                <mx:VBox>
                    <mx:HBox>
                        <mx:Label text="Room URL:" width="70"/>
                        <mx:TextInput id="roomURL" width="295" tabIndex="1">
                            <mx:text>http://connect.acrobat.com/exampleURL/exampleroom</mx:text>
                        </mx:TextInput>
                    </mx:HBox>
                    <mx:HBox>
                        <mx:Label text="Username:" width="70"/>
                        <mx:TextInput id="username" tabIndex="2">
                            <mx:text>guest</mx:text>
                        </mx:TextInput>           
                        <mx:Button label="Login" click="login()" width="126" tabIndex="4"/>
                    </mx:HBox>
                    <mx:HBox>
                        <mx:HBox id="passwordBox">
                        <mx:Label text="Password:" width="70"/>
                        <mx:TextInput id="password" displayAsPassword="true" tabIndex="3"/>
                        </mx:HBox>
                        <mx:RadioButton label="User" selected="true" click="passwordBox.visible = true"/>
                        <mx:RadioButton label="Guest" click="passwordBox.visible = false"/>
                    </mx:HBox>
                    <mx:Text id="notificationMessage" text=""/>
                </mx:VBox>
            </mx:TitleWindow>
            <!--
             | AFCS application UI wrapped in ConnectSession
             -->       
            <rtc:ConnectSessionContainer
                id="sess"
                authenticator="{auth}"
                initialRoomSettings="{settings}"
                autoLogin="false" width="100%" height="100%" >       
                <mx:HBox width="100%" height="100%" horizontalGap="0">
                    <mx:VBox>
                        <mx:TabBar dataProvider="viewStack" direction="vertical" width="100" verticalGap="0"/>
                        <!--mx:Button label="Disconnect" click="sess.close()"/-->
                    </mx:VBox>
                    <mx:ViewStack id="viewStack" width="100%" height="100%" borderSides="left top right bottom" borderStyle="solid" borderThickness="2">
                        <!--
                         | Chat pod and roster
                         -->
                        <mx:HBox label="Chat" width="100%" height="100%">
                            <rtc:SimpleChat width="40%" height="100%"/>
                            <rtc:WebCamera left="0" right="0" top="0" bottom="0" width="40%" height="100%"/>
                            <mx:List alternatingItemColors="[#DFDFDF,#EEEEEE]" dataProvider="{sess.userManager.userCollection}" width="10%" height="100%" labelField="displayName" id="abc" click="userclick(abc.selectedIndex)"/>
                        </mx:HBox>
                        <mx:Canvas id="white" label="privatechat" width="100%" height="100%" creationComplete="buildModel()">
                         <mx:VBox id="chatBox">
                    <rtc:WebCamera id="webcam" width="400" height="223"/>
                    <mx:TextArea width="398" height="140" id="chat_mesg_area"/>
                    <mx:HBox>
                    </mx:HBox>                               
                </mx:VBox>
                <mx:TextInput width="400" id="chat_mesg_input" y="370"/>
                <mx:Button label="Submit Chat" click="submitChat(chat_mesg_input.text)" y="398"/>
                </mx:Canvas>
                        <!--
                         | Fileshare pod
                         -->
                        <mx:Canvas label="FileShare" width="100%" height="100%">
                            <rtc:FileShare left="0" right="0" top="0" bottom="0"/>
                        </mx:Canvas>
                    </mx:ViewStack>
                </mx:HBox>
            </rtc:ConnectSessionContainer>
        </mx:Panel>
    </mx:Application>

  • How to filter simpleChat messages (private chat)

    So I tried to find the solution, but after several hours, I can't find how to do it.
    My use case:
    There is one host for a room. Others users in the room can only talk to the host, and the users can only see their private discussion with the host. Users can see the chat component only when the host is connected.
    The host use another application in which he can see the list of users who are talking to him. He can select a user in the list, and he see a simple chat with only the messages between him and the selected user.
    What I have completed (I think it can help others in the future, and maybe there are better way to do it):
    * In the user application: use the userManager property of your ConnectSessionContainer. It has an arrayCollection named hostCollection concerning the hosts who are currently connected.
    In my case, I put the chat components into a container, and use a binding to the visible property:
    visible="{connectSession.userManager.hostCollection.length>0}"
    You can also add an event listener to the userManager and listen for UserEvent.USER_CREATE and USER_REMOVE and check if event.userDescriptor.role==100  or checking the hostCollection.length of the userManager again.
    * If you subclass simpleClass, you can access to the _toCombo which is the combo box of the chat.
    You can set its visible property to false, and set its selectedItem to the first object in its dataprovider which role is equal to 100 in order to force the chat to be private with the host.
    * In the host application, you can create a list that use the ConnectSessionContainer.userManager.audienceCollection as dataProvider to have a list of the users.
    It's easy to set the combobox of the simple chat to speak only to the selected user, but what I haven't been able to do is to filter the history to only show the conversation with the selected user, and not other messages, without creating several rooms.
    I looked into the source code, but the history property of the simpleChatModel is just a string, and haven't find an easy way to filter it.
    I looked for an arrayCollection of the history nodes, because I could have use the filter property of the collection, but I haven't find it.
    So, where should I look, and what is the best way to filter the history using the recipient_Id?
    Thank you for your help...
    Sorry for the long post, but maybe it will help someone in the future...

    Thank you for your response Hironmay,
    I made some great progress by sub-classing both the simpleChat and simpleChatModel classes.
    I read on Nigel twitter feed that he hates private, and I can thank him for his love of protected members, because it made my job so much easier!
    I will explain what I did in the interest of other users, but I've got one last question: 
    In the Room Console AIR app, there is an "retract all items" in the node details of the explore tab. 
    I want to build the same button in my host chat application, but I haven't find a way to do it. 
    There is a retractItem method on the CollectionNode class, but it requires the itemID and I haven't find a way to access every item in the chat history in order to get their itemID. 
    I tried the clear() method of the chatModel, but it cleared only the current session, and leave the items in the server, and when the host logout, the items reappears when the host login again. 
    On the bright side, here is what I use for my applications:
    - Subsclassed the simpleChat in hostChat and clientChat classes, and the simpleChatModel in HostChatModel and ClientChatModel
    - subclass the ChatMessageDescriptor ==> PrivateChatMessageDescriptor with 2 properties: userConcernedId and fromHost (boolean)
    - override in the HostChatmodel the addMessage function to obtain  PrivateChatMessageDescriptor instances, and I add them in an ArrayCollection
    - When the host select a user in the RosterList, a filter is used on the ArrayCollection, and the HistoryTextArea is updated to show only the thread between the host and the user. The _toCombo is updated to send private message to this user.
    - I override the updateTypingIfNeeded method of HostChat to use a SharedProperty which contains the userId of the selected user when the host is typing or an empty string. This way, in the clientChat, I only show for the user when the host is typing a message for him, and not when other users are typing.
    - I replace the TextInput by a TextArea to enable multiline input (well, this one opened lots of problems to fix, but I have)
    - A lots of other tweaks  
    So as you can see, I made it
    But I look forward to a new set of sparks component, because it would have been much easier to extend the SimpleChat without rewritten half of it. 
    And here are some of my feature requests: 
    - In the SimpleChat class, add a protected getAndInitModel() , which would be called in the subscribe method. This way, one can switch the model without overriding the subscribe method of the Chat class.
    - Have a "multilineInput" property in the SimpleChat class to chose a TextInput or a TextArea as the user input component.
    - Provide a way to enable Host/Users interaction directly in the pods without having to create a new room for each user to "separate" them.
    I think a lot of use cases for LCCS would be to implement solutions for Customer Experience, and that will need more focus on what the host can do (private chat, ...) 
    Thank you again for your help, and thank the entire teams for this incredible service. 
    Dimitri K.

  • How to fetch other user's userID in 1:1 Private chat Scenario

    Please tell me steps to fetch UserID for participant in 1:1 Private Chat Scenario

    Hi Ashish,
    You need to spend more time with the docs and code. We are here to help you but we want you to make efforts first in figuring out things yourself.
    You can use userManager.userCollection to get the ArrayCollection containing all users in the room. Then you can iterate over it and get the userDescriptor you want and from there the userID.
    Thanks
    Hironmay Basu

  • About the socket security problem,Plese help.

    I use the port 843 server to send xml to swf.But not work. Please help. My Code is:
    Server:
    //HelloTest.java
    import java.io.IOException;
    import java.net.ServerSocket;
    import java.net.Socket;
    //让其继承线程类是为了更好控制 其余的线程
    public class HelloTest extends Thread {
    * @param args
    public static void main(String[] args) {
    // TODO Auto-generated method stub
    //发送策略的服务器
    new HelloTest().start();
    //这个是用的fuq
    new Thread(new QtServer()).start();
    @Override
    public void run()
    System.out.println("策略服务器启动");
      boolean lising=true;
    ServerSocket ss;
    try {
    ss = new ServerSocket(843);
    while(lising)
    try {
    //得到socket服务器
      Socket sc=ss.accept();
    SendPolicyFile sp=new SendPolicyFile(sc);
    System.out.println("为什么呢");
    new Thread(sp).start();
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    try {
    Thread.sleep(1000);
    } catch (InterruptedException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    ss.close();
    } catch (IOException e1) {
    // TODO Auto-generated catch block
    e1.printStackTrace();
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintWriter;
    import java.net.Socket;
    //SendPolicyFile.java
    public class SendPolicyFile implements Runnable {
    private Socket soc;
    private OutputStream _socketOut;
    private InputStream _socketIn;
    public SendPolicyFile(Socket s) throws IOException
    this.soc=s;
    _socketOut=s.getOutputStream();
    _socketIn=s.getInputStream();
    //设置超时的限制
    //soc.setSoTimeout(1000);
    public void run() {
    // TODO Auto-generated method stub
        try {
    readRandSp();
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    @SuppressWarnings("unused")
    private void readRandSp() throws IOException
      if(read().equals("<policy-file-request/>"))
      System.out.println("write Policy to flash");
      writePolicy();
            //close stream and socket
      close();
    //写策略文件的方法
    private void writePolicy() throws IOException
       String string1="<?xml version=\"utf-8\" ?><cross-domain-policy><site-control permitted-cross-domain-policies=\"master-only\"/><allow-access-from domain=\"*\" to-ports=\"8001\"/></cross-domain-policy>"+"\u0000";
    PrintWriter pw=new PrintWriter(_socketOut);
    pw.println(string1+"\u0000");
    pw.flush();
    pw.close();
    System.out.println(string1+"\u0000");
    //关闭流
    //关闭socket
    public void close()
      if(_socketOut!=null)
    try {
    _socketOut.close();
    if(_socketIn!=null)
      _socketIn.close();
      if(soc!=null)
      soc.close();
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    _socketIn=null;
    _socketOut=null;
    soc=null;
    //发送两个Socket
    private String read() throws IOException
    System.out.println("这里也执行吗");
    StringBuffer buffer=new StringBuffer();
    int codePoint;
    boolean zeroByteRead=false;
    do{
    //这个地方阻塞了
    codePoint=this._socketIn.read();
    //如果接受到的codePoint为null那证明客户端与我们失去连接了
    if(codePoint==0)
      zeroByteRead=true;
    else
    buffer.appendCodePoint(codePoint);
    while(!zeroByteRead && buffer.length()<30);
    return buffer.toString();

    I use the port 843 server to send xml to swf.But not work. Please help. My Code is:
    Server:
    //HelloTest.java
    import java.io.IOException;
    import java.net.ServerSocket;
    import java.net.Socket;
    //让其继承线程类是为了更好控制 其余的线程
    public class HelloTest extends Thread {
    * @param args
    public static void main(String[] args) {
    // TODO Auto-generated method stub
    //发送策略的服务器
    new HelloTest().start();
    //这个是用的fuq
    new Thread(new QtServer()).start();
    @Override
    public void run()
    System.out.println("策略服务器启动");
      boolean lising=true;
    ServerSocket ss;
    try {
    ss = new ServerSocket(843);
    while(lising)
    try {
    //得到socket服务器
      Socket sc=ss.accept();
    SendPolicyFile sp=new SendPolicyFile(sc);
    System.out.println("为什么呢");
    new Thread(sp).start();
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    try {
    Thread.sleep(1000);
    } catch (InterruptedException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    ss.close();
    } catch (IOException e1) {
    // TODO Auto-generated catch block
    e1.printStackTrace();
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintWriter;
    import java.net.Socket;
    //SendPolicyFile.java
    public class SendPolicyFile implements Runnable {
    private Socket soc;
    private OutputStream _socketOut;
    private InputStream _socketIn;
    public SendPolicyFile(Socket s) throws IOException
    this.soc=s;
    _socketOut=s.getOutputStream();
    _socketIn=s.getInputStream();
    //设置超时的限制
    //soc.setSoTimeout(1000);
    public void run() {
    // TODO Auto-generated method stub
        try {
    readRandSp();
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    @SuppressWarnings("unused")
    private void readRandSp() throws IOException
      if(read().equals("<policy-file-request/>"))
      System.out.println("write Policy to flash");
      writePolicy();
            //close stream and socket
      close();
    //写策略文件的方法
    private void writePolicy() throws IOException
       String string1="<?xml version=\"utf-8\" ?><cross-domain-policy><site-control permitted-cross-domain-policies=\"master-only\"/><allow-access-from domain=\"*\" to-ports=\"8001\"/></cross-domain-policy>"+"\u0000";
    PrintWriter pw=new PrintWriter(_socketOut);
    pw.println(string1+"\u0000");
    pw.flush();
    pw.close();
    System.out.println(string1+"\u0000");
    //关闭流
    //关闭socket
    public void close()
      if(_socketOut!=null)
    try {
    _socketOut.close();
    if(_socketIn!=null)
      _socketIn.close();
      if(soc!=null)
      soc.close();
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    _socketIn=null;
    _socketOut=null;
    soc=null;
    //发送两个Socket
    private String read() throws IOException
    System.out.println("这里也执行吗");
    StringBuffer buffer=new StringBuffer();
    int codePoint;
    boolean zeroByteRead=false;
    do{
    //这个地方阻塞了
    codePoint=this._socketIn.read();
    //如果接受到的codePoint为null那证明客户端与我们失去连接了
    if(codePoint==0)
      zeroByteRead=true;
    else
    buffer.appendCodePoint(codePoint);
    while(!zeroByteRead && buffer.length()<30);
    return buffer.toString();

  • What is the idea of a private chat

    Hi
    i want to know what is the idea of private chatting? a user can chat with a user in a private room.
    public chat is easy. just sending the text to the server and all users can see
    what about sending a message to a server and then to a user and both users behind routers or firewalls ?
    thanks in advance.

    apacheserver wrote:
    NO body understand meI know the feeling.
    i don't want to use any server like yahoo or habberI guessed that, but unless you have a server which is visible you cannot see it. (or connect to it)
    i want to make my own server and connect to it using an applet like those any one seeEither your server can be seen from the internet or it can't. There is no, it-can-only-be-seen-by-me, unless you have a super-power we don't know about. ;)
    all i want to know how a client connect to a server and the client is behind a routerNo problem with the clients being behind a router or firewall. There is nothing special you need to do. The client just connects to a server it can see.
    Edited by: Peter__Lawrey on 21-Mar-2009 06:34

  • How long does my private chat/message convertation...

    How long does my private chat/message convertation last in skype? I can't find back one convertation from januar-feb 2015 and some from 2014. Do skype delete my message if i don't write for a while?
    This post was transferred from its previous location to create its own new topic here; its subject and/or title has been edited from "Skype messages" to differentiate the post from other inquiries and to reflect the post's content.

    thanks for the reply, how ever ive already contacted itunes support and they didnt say any thing about why my ID was disabled. So now what go directly to Tim cook an have this problem resolved ? P.S your user name is great

  • Creating small groups (like private chat) within a room

    hi there, i just have some set of questions and clarifications
    1. by default, only owners can create groups right? (when i say groups i mean the one you set by doing audioPublisher.groupName), is there a way to enable the publisher to make groups as well?
    2. what is the better way for private chatting within a room (private chat for about 10-20 people within a room, more like a group)... i'm thinking to use the ability to set publisherIDs for audioSubscriber, but is there an advantage in using the audioPublisher.groupName, other than you do not have to specify all userIDs of the person that you want to subscribe to?

    Hi there, first of all, thank you for replying,
      a) Is your chat audio/video?
              we intend to use LCCS for audio conference only
       b) How many people are in the room "at large" vs in these private groups?
              i can't really give a range but idea is we will typically have a "room" for a meeting group, i'm just thinking what would be better, either a room per meeting, or a group per meeting. i mean there will be no overlapping of groupings since these will be all guests accounts.
    Right now, i'm more inclined to using a room for each meeting since if it will be done by groups then what if we make groups within a room and then suddenly our room got maxed out (5000 users), then we need to add another member for a group but we cannot add it anymore since the room is already maxed out. As far as i know now, there is a max of 5000 users per room, but is there a maximum number of rooms allowed to be created per account?
    You also mentioned that "it's great for when you need an absolutely secureenvironment", pertaining to groups, i supposed that room separation also possesses the same absolute security right?
    Another thing you mentioned is that "carries the challenge of needing a moderator in the room.", pertaining to groups again, is this because of the fact that you would have to create a group using an owner account? perhaps same thing as when creating a room using an owner account. But i mean once the group/room is created then any publisher can easily publish in that room/group right?
    Right now, i'm just using the  audioSubscriber.publisherIDs to sort of separate the users of a room but then again, it would be harder to monitor once there is a lot of users within a room

  • Privat Chat

    Hi,
    I am newbie to cirrus and creating one room video/audio as well as text chat application.
    I have used NetGroup concept for room chat and seems to be working fine.
    Now I want to create private chat in same room where users will see all other attendees in the room and they can
    start there private chat with them.
    So here I ahave stucked as I dont know how others will get list of other online users in group and second how
    can I send private chat to them?

    Nice workaround dude.. I didn't saw that one
    Though, it's still not a real solution. What I was willing is to have a textfield on the stage and whatever the scroll or size of the textfield to be able to take the boundaries of a character. For instance, just to place the text field and then to get ANY character without stretching around the size of it
    I solved the problem by always scrolling down when new message arrives, but.. that sucks really!
    That's why I cant resize the text field, because then all goes wrong with the scroll and stuff.. I mean if the user had scrolled up a bit and later someone talks in the chat (let's say we talk about group chat), the temp height that I'll assign should be unknown.. althouth I got textHeight and I'm not sure if I can calculate the total height minus the scrolled size... But if I should do all of this there is no point to do it that way.. it's too cheap as performance and my time too.
    Anyway I will appretiate more ideas about that and also I think the subject is interesting to all the guys who wants to create emoticons in their chats right

  • Private Chat functionality for basic server

    Dear all
    Firstly i hope this is the best forum for my question.
    I've written a basic chat server and client. The server recieves strings messages, and broadcasts them to everyone connected to it. I was wandering, sticking with exchanging Strings over the connection, what ways could I implement a private chat facility so one client could choose to send a message that would only be seen by one chosen user?
    Dwarfer

    Hi georgernc
    I completly agree with you. I had originally used the smack api to create a client that talked with an openfire server, however was told (as i'm doing this to create an experiement for a project) that what i was writing was too 'heavy', as there was no need for using things like rooms and roosters) which to be honest is probably true.
    So i went back to just writing a very basic server, with not authentication or security (i don't think i really need security as it will never be used outside of a closed network, and even then it will only be used for short periods of time) that just listens for a connection on serverSocket.accept(), reads from it when there is a message(String) arrives and then broadcast that mesage to all those connected to the server.
    I'm not too sure how to progress in setting up the private chat facility without using smack and openfire (as i've been told not too). I'm going to get cracking and start playing around and see what i can come up...

  • Cant exit private chat without being thrown out of game.

    whenever im in private chat and try to return to main chat in any game, im thrown out of pogo and have to re-enter again .

    can you tell me how to fix this problem ?

  • My private chat on blackplanet is too big. want it to be smaller

    when I do private chat off hits on blackplanet the chatroom is way too big?

    Reset the page zoom on pages that cause problems.
    *<b>View > Zoom > Reset</b> (Ctrl+0 (zero); Command+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages

  • IChat WON'T WORK using audio or video chatting [PLEASE HELP]

    Bought a Mac a couple months ago and I'm pretty (yeah, that's VERY) happy about it. The thing is when it comes down to my iChat, I wanted so much to have video conference with my family in Brazil while I'm studying in Spain -- but I Just can't! =(
    Let's put it that way: iChat won't recognize my (Googlechat) friends and their webcams; and as long as I'm connected, I have never seen any sort of "audio label" beside their names.
    So can any Mac-pro please help me out explaining what the matter is?
    Can't I talk to my friends just because the're using PCs -- or there's nothing to do with it?
    I've tried everything, from Preferences to Praying; and it won't work. Just wanna let you guys know that all the people that I'm trying to talk to have webcams and microphones plugged-in.
    PS - Plus, I got this huge agenda full of contacts (around 2,000) that appear to be on my iChat list, but they're somehow never online. Is that because I have to send them an invitation to join my Googlechat? =/
    I'm totally lost here.
    I'd appreciate if you people could answer me quick - as you always do here =). Tomorrow I'll have this unique chance to talk to my grandmother (for she's living in some sort of farm far away from civilized world) and I'd REALLY want to chat via Video Conference with my family tomorrow night.
    Sorry for my bad english and thanks in advance.
    Sylvio Quadros (Brazil)

    Hi,
    You can Add an Google Mail ID (@gmail.com or @googlemail.com) as your ID/screen Name in iChat.
    From iChat to iChat this will also do Video or Audio Chats as well as Text chats.
    From iChat to anyone using the Google Web Mail page you can text chat as the Video and Audio codecs are different.
    The same is true of the PC app for GoogleTalk.
    To be able to login in to Google Talk using iChat your have to Enter you ID as it is written on any Google Page when you are logged in (Ends with either @gmail.com or @google.com), Mail seems to cope with either but iChat needs it to match.
    You also have to Enable the Talk option on your Google Account info.
    To See the Green Video and audio icons go to the View Menu of ichat and Select Show Audio and Show Video.
    If you are trying to Chat with a PC I would use one of these
    Alternatives to iChat but Video chatting In a Web Browser
    MeBeam. An option to use a Web site that create Private room for Video Chatting. Uses Flash to access your Camera and Mic.
    iVideoChat Similar setup but a somewhat corporate type look to the site. Has Public rooms as well. Again uses Flash.
    Googlemail/GoogeTalk now do a Version in a Web Browser
    Tokbox A Site that can link your existing Buddy Lists that Uses Flash to Video chat in a Browser.
    From http://www.ralphjohns.co.uk/page5.html#_other
    Tokbox allows you to link to existing Buddy Lists.
    7:42 PM Thursday; March 18, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Broadcasting private chats automatically !

    Hi
    I just used my Q10 for one day and this problem happen to me. The problem as the following;
    i was chating with someone at 5:00 pm to 7:30 PM, after couple of hours lets say 10:00 PM. My blackberry sent broadcast to all my contact list for the chat i did before ( 5:00 to 7:30 PM). This happen to be automatic i did not even sent any broadcast at this time. Am 100% sure that i did not do it by my self, not even touch the broadcast buttom. 
    Could this be some new service for the blackberry to share whatever i chat to all of my list? 
    please help me this is the most dangerouse problem could happen to anyone!
    Thanks in advance for readying my post :_)

    Hi uae87 and welcome to the BlackBerry Support Community Forums!
    Has this only ever happened the one time? I'm not sure how the broadcast would have been sent because there's no option to send or share a conversation.
    Can you provide me a screen shot to show that it was sent via Broadcast? You can send it to me via Private Message if you prefer.
    Thanks.
    -CptS
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Just got a new IPAD3, straight out of the box, but I cant charge it, I have tried with the power plug and cable out of the box but no joy, i have tried resetting the iPad but still no joy, have tried different plug sockets, different plugs/cables, help

    Just got a new IPAD3, straight out of the box, but I cant charge it, I have tried with the power plug and cable out of the box that came with it but no joy, i have tried resetting the iPad but still no joy, have tried different mains plug sockets around the house with no joy, I have tried different USB mains plugs but again no joy, I tried using my new iPad cable into the USB port of my MacBook Pro laptop but still no joy, then, I tried using my old iPod classic cable into my MacBook Pro and that worked, so I have a way of charging my new iPad3 but its not practical as i have to take my MacBook Pro everywhere if I want to charge it which kind of defeats the object of having an iPad, has anybody experienced anything similar and how was it fixed? can anybody help me please...

    Grumpy Gator,
    Please note it did say at the store's discretion, but people have actually been able to return it to the on-line store. (I only saw a couple who tried.)
    And given the outcry, I would think Apple might have other Apple stores join in. Just in case, though, if you can, you might bring it in today.
    If it's an ARS, my guess is they can stick to their 14 day return. Apple cannot force them to do it. SO if it's not bought directly from Apple, and it's past the 14 day deal, I'd bring it in to the store today if you have one. When I gave people the cnet.com site, I gave it so people could read it and know only Apple had made the decision for Apple. And I suggested to some that an Apple reseller would probably stick with their own return policy.
    Because Arnie had just bought his, he should be able to return it to Apple or an ARS because an ARS has to have some kind of full refund or at least return for credit within 7 or 14 days of purchase.
    Hope this helps.

Maybe you are looking for

  • How can I convert Microsoft Word 2004 to Microsoft Word 2011? About 50% of the time Word 2011 won't open Word 2004.

    How can I convert a Microsoft Word 2004 file to Microsoft Word 2011?  Most of the time the prompt says that the old Word is not supported anymore.

  • Change order in Acrobat Pro XI pdf portfolio

    I can't seem to change the order of my portfolio in Acrobat Pro XI.  My portfolio layout is Click-Through.  When I drag an item on the mini-navigator bar at the bottom and move to a new spot and let go when I have the vertical insertion line, the ite

  • Problem setting paragraph style using FindChangeByList

    am trying to apply a paragraph style using FindChangeByList. I can apply character styles but not paragraph styles. I need to apply the paragraph style "price" to every paragraph that begins with a "$" I have tried it everyway I can think of. any sug

  • Oracle RAC Interconnect, PowerVM VLANs, and the Limit of 20

    Hello, Our company has a requirement to build a multitude of Oracle RAC clusters on AIX using Power VM on 770s and 795 hardware. We presently have 802.1q trunking configured on our Virtual I/O Servers, and have currently consumed 12 of 20 allowed VLA

  • IDOC to JDBC

    HI All, I am working on IDOC to JDBC scenario. Everything is going correct In Pipeline steps. But in whenever I am sending IDOC frm R3 to XI message getting stuck in SMQ2 . for this I have checked after the mapping Excuetion if I am sending the 5000