Search:

Type: Posts; User: jps

Search: Search took 0.10 seconds.

  1. Replies
    20
    Views
    3,952

    Re: a private chat application in process

    Yea, I understand. RL happens for me too and sometimes duty calls.
    Perhaps you are being blocked by a firewall or your internet provider. I do not see a problem.
  2. Replies
    20
    Views
    3,952

    Re: a private chat application in process

    Yes you are right. I never looked past opening the server socket.. I made an assumption and jumped to a conclusion I should not have. I will have a look when I return
  3. Replies
    20
    Views
    3,952

    Re: a private chat application in process

    The long part is somewhat of an issue, but not the reason no one provided a solution


    Q & A.


    This is somewhat of an issue. Who has the time? You try it out. You try it on two different...
  4. Replies
    20
    Views
    3,952

    Re: a private chat application in process

    No, I never suggested you set anything false. In fact the "server loop" can (and should) continue to run any time you wish to be accepting connections.

    When you are done accepting connections, yes...
  5. Replies
    20
    Views
    3,952

    Re: a private chat application in process

    This and this provide some helpful information.
    As a side note, a search engine with "Whats my ip" should give you the public ip of the machine
  6. Replies
    20
    Views
    3,952

    Re: a private chat application in process

    I do not understand what this means.
    Again I suggest following a tutorial. Get a client to connect to an echo server. Once that is working move on to the next step
  7. Replies
    20
    Views
    3,952

    Re: a private chat application in process

    That would depend on what you do where it says "handle the connection here", but it is a start. Probably something like pass the newly connected client to a thread (possibly from a pool) to actually...
  8. Replies
    20
    Views
    3,952

    Re: a private chat application in process

    bingo
    not when you get it done correctly
    I suggest a tutorial on server client communications, especially the use of server sockets.
    Roughly the problem is the repeated attempt to open two server...
  9. Replies
    20
    Views
    3,952

    Re: a private chat application in process

    It is most likely the port is being held open by a previous run of the application in question.
    Make sure to close the sockets and terminate any threads when the application is closed.

    There...
Results 1 to 9 of 9