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

Similar Messages

  • What is the IDE

    Hi,
    I am learning j2ee.i am developing my applications on jdk.My friend asked me what is the IDE you are using to develop(ex :Net Beans).Can any one give me reply to Know about this IDE concept.

    georgemc wrote:
    Can you explain why command-line tools are the "proper" way to do things, though? Are you calling me lazy for using an IDE? Yes I'm calling you, myself and everybody who uses a IDE lazy. And I by no means say that as a insult, its just how it is - that's why they are there to make your and my life easy'r.
    The command-line tools should be used when the person is learning, and an IDE when the person is more experienced.
    Identical?? <background>
    I first studied Java, from start to finnish the institution allocates 12 weeks for SE EE and ME.
    We were not allowed to use an IDE for the first 4 weeks of the SE part (SE was 6 weeks long).
    The whole time I and other java students were asked by the C# students for help.
    I then did C# (Got bored after 3 weeks-so I stopped) same time period.
    The IDE(SharpeDevelop) is introduce in the first example.
    </background>
    Quote from my C# study guide:
    This language has roots in C, C++ and Java thus making migration easy for existing programmers. More like Microsoft Copied Java but added more Windows specific capabilities.
    The syntax is very very similar with some small differences.
    And logic is identical - come on its just logic.
    Here is a simple C# program
    Try see the similaritoes between java and C#:
    using System;
    public class BubbleSort{
      public delegate bool Comparator(int num1, int num2);
      public static void SortArray(int[] array, Comparator Comp){
        for(int pass = 0; pass < array.Length; pass++){
          for(int i = 0; i <  array.Length - 1;i++){
            if(Comp(array, array[i+1]))
    Swap(ref array[i], ref array[i + 1]);
    public static void Swap(ref int num1, ref int num2){
    int tmp = num1;
    num1 = num2;
    num2 = tmp;
    public class BubbleSortProgram{
    int[] intArray = new int[10];
    public static void Main(){
    BubbleSortProgram bsp = new BubbleSortProgram();
    bsp.run();
    public void run(){
    do{
    printNumbers();
    Console.WriteLine("Sort asc/desc? a/d");
    string ans = Console.ReadLine();
    if(ans.Equals("x")){
    break;
    if(ans.Equals("a")){
    BubbleSort.SortArray(intArray, new BubbleSort.Comparator(SortAscending));
    } else if(ans.Equals("d")){
    BubbleSort.SortArray(intArray, new BubbleSort.Comparator(SortDescending));
    printResults();
    }while(true);
    private bool SortAscending(int num1, int num2){
    return num > num2;
    private bool SortDescending(int num1, int num2){
    return num < num2;
    public void printNumbers(){
    Random r = new Random();
    for(int i = 0;i<intAtrray,Length;i++){
    intArray[i] = r.Next(100);
    Console.WriteLine(intArray[i]);
    public void priintResults(){
    foreach(int num in intArray){
    Console.WriteLine("Sorted : " + num);
    Only real difference is the fact that you can pass a method as a argument by making use of delegates as a delegate is a reference to a method.
    and Console class.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • What is the correlation of Logger Private network to Router Private Network.

    What is the correlation of Logger Private network to Router Private Network.
    You have to define them in Websetup for the Router and Logger but what is communicating on the Private network path between the Logger and Router?    I thought that was over the Public network.  is it only Recovery from the Loggers talking over the Private network?

    Hi,
    you can read about the types of messages exchanged over various links in the SRND.
    G.

  • What's the idea from using one of the Tasks a common cost "Capitalization"?

    Hi,
    I want to know What is the idea behind using on of the costs included in the work breakdown structure as a common cost as a group level?!!
    and Shouldn't i include it in any transaction?!!!(i.e. don't use it in the PO, AP invoices....etc?).
    Please i need clarification,
    Thanks in advance.

    Hi
    In any project there could be some type of shared cost, that may be associated with a project as a whole, but it would not be practical to allocate such common cost to each one of the individual tasks.
    For example, a construction project will have a task for foundation, plumbing, electric wiring, etc. The project manager, and construction inspector are resources common to all those tasks, and it may be costly to try and allocate directly the hours of those resources to each one of the tasks.
    Dina

  • What has the Apple support team done to the Top Sites screen? I just accepted an automatic update to be downloaded to my iMAC, and as a result of this "fix installation" the layout of the Top Sites screen has been terribly "destroyed"! What's the idea?

    What has the Apple support team done to the Top Sites screen? I just accepted an automatic update to be downloaded to my iMAC, and as a result of this "fix installation" the layout of the Top Sites screen has been terribly "destroyed"! What's the idea?

    If you are referring to the non-panorama , but rather the flat look, well that's what they did.
    You can give your opinion here:
    http://www.apple.com/feedback

  • What is the idea behind Render Response and Exception Handling in TF?

    Dear All,
    While searching for answer for my question, I find it hard to decipher this line.
    task flow exception handling doesn't handle any exception that is in Render Response phase
    I found this several times in many post like this.
    Re: ADF Exception handling (including RENDER RESPNSE PHASE)
    and this
    Re: Exception Handling in TaskFlow
    What's the idea behind exception handling in task flow that is related to JSF/ADF life cycle?
    I can't find a resource on why I should know what phase an exception has been thrown?
    Sorry if my question might be vague/ignorant to others, but I just would like to know the idea from experts around here. :)
    Thanks.
    JDEV 11G PS4

    Hi,
    Render Response is the last lifecycle phase processed during JSF request. The ADF controller has no chance of handling exceptions that occur during this time (example, exception thrown in managed bean) and therefore in its default exception handling implementation ignores this lifecycle phase. As an application developer you don't need to know when an exception is raised. However, if you find that an exception occurs during Render Response and it is not handled by the ADFc declarative exception handler, then you know. You can try and override the framework exception handler as explained here:
    https://blogs.oracle.com/jdevotnharvest/entry/extending_the_adf_controller_exception_handler
    However, better practice is to use try/catch blocks surrounding e.g. calls in a managed bean that could cause exceptions
    Frank

  • What is the idea of a read only forum about a new product ?

    My problem is that lightroom 5 crashes when my sony xperia is connected. this worked in the beta. Searching the web and the adobe page i always land in discussion threads that are read only
    Q: what is the idea of a read only forum about a new product?

    The Lightroom forum is not read-only (evident as you've just posted a question).
    The Beta forums in Adobe Labs are locked because the beta program is now closed. If you arrive in the beta forum because of a Web search, you can't reply to the thread but the homepage (and the Lightroom product page) links you to the correct place.

  • What is the idea behind specifying the voice VLAN under the interface

    Hi,
    What is the idea behind specifying the voice VLAN under the interface? (Is it needed for both 802.1P and 802.1Q?)
    Regards
    M

    The voice vlan command is what tells the IP phone what VLAN it should use...
    The idea is that setting the native vlan on the port controls what VLAN the attached PC goes into, and the voice vlan tells the phone which VLAN it should go into.
    It doesn't have any direct relation to QoS, as the port could be configured to ignore or take action on QoS markings with or without the voice vlan command.
    Aaron

  • What is the best way to video/chat

    Hello, Have a mini, want to video chat and find there is no mic? What are your suggestions to solve this? Brands, Headphones, etc,, thanks

    What camera are you using for the video chat? If the monitor has a camera for video chat, then it should have a mic in it. The web cam itself should have a mic. But to answer your question, any headphone that works with iPhones (like the Apple one with mic) will do the job.

  • What is the enrollment limit for private courses in a school division?

    I have set up an iTunes U course which is a private  course for our school division K-12 STEM teachers. I've heard there is a limit of enrollee's on a private course.
    I'm trying to find out that answer and who I can appeal to if there is a limit. I'm an iTunes U pioneer in a very large PC driven school division system.

    It is restricted only by the space on your disk drives.
    See more
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/limits003.htm#sthref4186
    Gints Plivna
    http://www.gplivna.eu

  • What is the idea of having STRING type when you can't write into that field

    Hello friends
    I am desperately trying to write to a field of a database table with DATA TYPE 'STRING'.
    When I try to write it using a program from < SE38> or a function <SE37>, I get following error message, while activating the program.
    ============================================================
    <DATABASE_TABLE> must be a flat structure. You cannot use internal tables,
    strings, references, or structures as components.
    ============================================================
    So, I have been going in circle to find out how to write a string into this field.
    I can't use the CHAR or any such type with a limited field length, since the requirement from my customer is to use a variable length string.
    Has anybody seen this problem before and if you have resolved this issue, I would appreciate if you can please let me know.
    Thanks a lot in advance.
    Ram

    Hi Harish
    Thanks for your response.
    I can create the table with the data type 'String'. However, the problem is when I try to update the table from a program in SE38 or a Function Module in SE37.
    When I try to activate the PROGRAM or FUCNTION, I GET A MESSAGE THAT I MENTIONED EARLIER.
    Here is the simple program that I have created that I am not able to activate
    ==========================================
    REPORT  ZTEST_STRING1.
    tables: ztest.
    ztest-zid = 2.
    ztest-zstring1 = 'ABC'.
    insert ztest.
    ===========================================
    ztest has two fields
    zid which is NUMC type
    and zstring1 which is STRING type.
    When I try to activate I get an error message as follows:
    'ztest' must be a flat structure. You cannot use internal tables,
    strings, references, or structures as components.
    Edited by: Ram Prasad on Mar 20, 2008 6:08 PM

  • What's the idea behind "Virtual Infocube" ?

    Anyone can tell me something about "virtual infocube" or guide me to a certain document.
    Becuase I couldn't find any document that talks about it in a genreal way.

    Hello Omar,
    there are different typpes of virtual InfoCubes (see link below). The common property is that those InfoCubes do not store any data. Please have a look at the online documentation:
    http://help.sap.com/saphelp_nw04/helpdata/en/84/fcb63d799f6b3be10000000a114084/frameset.htm
    Regards,
    Marc
    SAP NetWeaver RIG, US BI

  • 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

  • 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.

  • 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...

Maybe you are looking for

  • SRM Installation in Laptop

    Dear Sap Gurus, I have installed SRM 5.0 in my laptop, whose configuration is 2GB Ram and 160GB Harddisk. My friends told me that i need to connect SAP R/3 to the SRM server and moreover i need to connect to Internet. Please inform me, what should i

  • Form and report server with oracle 10g express edition

    how to ?

  • Write data on Next Month

    Hello, I'm trying to get the next month's value from a variable named &V_FIRST_FORECAST. So, let's say if my first forecast is "Oct", I want a function to return the next month "Nov" and write on it. And also I want it to be dynamic if I want to writ

  • How to Extract Text coordinates from PDF

    Hi, can anyone tell me how to get coordinates in pdf document using VB or .NET, suppose if some text is written in pdf document then how can i get coordinates of that text. Its very Urgent. Thanks in Advance.

  • Jobs at OS level..

    How to schedule background jobs at OS level?