Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Elite Member
    Join Date
    May 2011
    Gender
    Male
    Posts
    1,465

    Default client to client chat in java.


    First and foremost this is not a school project. Wala pakoi socket prog, next year pa. I'm practicing lng ginagmay.
    Here is the case:
    1 server to multiple clients - done
    the server can choose which client to chat(1 or more) - done

    i want the client can chat with another client/s w/ or w/o the server's idea. any idea here? kai i think of something pero di man solid, basin ma.spaghetti nya ba. tnx

  2. #2
    its the same concept as your client to server app. its just that you client will host the server itself. otherwise other clients wont be able to detect each other.

  3. #3
    Elite Member
    Join Date
    May 2011
    Gender
    Male
    Posts
    1,465
    Quote Originally Posted by dekarcane View Post
    its the same concept as your client to server app. its just that you client will host the server itself. otherwise other clients wont be able to detect each other.
    but i want na ang mga client lists ni server, naa sad sa mga clients. maka.pili rasad ang client ug another client to chat with.
    if mu.disconnect ang usa ka client sa server, then katong client list pud sa mga client nga ni.connect sa server ma.update sad kung kinsay ni dc.

  4. #4
    Quote Originally Posted by jairoh_ View Post
    but i want na ang mga client lists ni server, naa sad sa mga clients. maka.pili rasad ang client ug another client to chat with.
    if mu.disconnect ang usa ka client sa server, then katong client list pud sa mga client nga ni.connect sa server ma.update sad kung kinsay ni dc.
    dali ra jud unta kaayu na bro... all you need are commands, and a bit of creativity..

    nag hinay2x na ko himo ron..

  5. #5
    Quote Originally Posted by jairoh_ View Post
    First and foremost this is not a school project. Wala pakoi socket prog, next year pa. I'm practicing lng ginagmay.
    Here is the case:
    1 server to multiple clients - done
    the server can choose which client to chat(1 or more) - done

    i want the client can chat with another client/s w/ or w/o the server's idea. any idea here? kai i think of something pero di man solid, basin ma.spaghetti nya ba. tnx

    is this a web-based app or standalone app? if standalone, what type of file is it?
    i'm also learning java and c# at the university and still trying to decide whether to concentrate
    on java or c#.

  6. #6
    Elite Member
    Join Date
    May 2011
    Gender
    Male
    Posts
    1,465
    i'm making my own algo. ayaw sa mo post sa inyu codes huh until mag.ingon nako. need to learn to make one. tnx

    @coolnezz stand-alone boss.

  7. #7
    Quote Originally Posted by jairoh_ View Post
    i'm making my own algo. ayaw sa mo post sa inyu codes huh until mag.ingon nako. need to learn to make one. tnx

    @coolnezz stand-alone boss.
    gaan ra tika og JAR file..

  8. #8
    peer to peer style ani.. murag sa dota.. naa moi hold sa server..

  9. #9
    all i can say is you will probably need a server to keep track of who is online sa chat network.. then after ana client to client chat na, pwede na di mo agi server.

  10. #10
    @Jairoh, just like a said sa other threads nimo og sa PM, naa na'y dedicated server, og didto ang tanan clients mo-connect..

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. Help! Decimal to Binary problem in JAVA. (Beginner)
    By Wordless in forum Programming
    Replies: 7
    Last Post: 10-12-2012, 11:13 AM
  2. how to print jtextarea in java
    By jairoh_ in forum Programming
    Replies: 5
    Last Post: 10-05-2012, 11:38 PM
  3. How to clear buffer in Java?
    By ares623 in forum Programming
    Replies: 17
    Last Post: 09-22-2009, 11:20 AM
  4. Thin Client as Gaming/Chat terminals for InternetCafe?
    By salbahis in forum Computer Hardware
    Replies: 17
    Last Post: 01-09-2009, 12:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top