JAVA IM problem

java Ireland
  • 15 years ago

    Hi;


    I have a problem , Can any body please help ?


    I want to make a instant messnger in java ,


    I m having problem when I have to send message to destination , as in server class when i recive a conection from client  dat goes to Socket type instance , now how can i differnciate dat which client socket is which ?


    Scoket client sok= serversocket servsok . acept()


    is there any wayaround to differencite  or mark each socket instance for each user ?


    how to solve this problem ??? any help plzzz !
    < Prev | 1 | Next >

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The trouble with programmers is that you can never tell what a programmer is doing until it's too late.” - Seymour Cray