Results 1 to 3 of 3

Thread: VB Chat...

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 1999
    Posts
    33
    I made a chat room, and now I can't find out how to do something that seems simple.

    Ok, When a user connects to the server, I want the server to request a textfile(in the app dir) and distribute it to the rest of the chat room.

    Also, the user who just joined is sent the text files of the other users.

    Wasn't that simple? Hehe, thanks!

    Matthew

  2. #2
    Addicted Member Daniel_Christie's Avatar
    Join Date
    Jan 2000
    Location
    USA
    Posts
    245

    Matthew,

    Matthew,

    Could you please display your coding, it will help us out to answer...

    I appreciate all of your time and effort,
    Daniel Christie
    VB 5 and 6 Enterprise Editions,
    Html, Java scipt, Vb script,
    & etc...
    http://www.qwcd.com

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 1999
    Posts
    33
    Is this what you mean?

    All this is done automatically

    Client 01 connects to the Server
    [ CLIENT01 ] -----Connects to---- [ SERVER ]

    The Server requests "XXX.txt" from Client 01
    [ SERVER ] ------Request XXX.txt------ [ CLIENT01 ]

    Client 01 Sends "XXX.txt" to the Server
    [ CLIENT ] -------Sends XXX.txt------ [ SERVER ]

    The Server sends "XXX.txt" to Client 02 and Client 03
    [ SERVER ] -----Sends XXX.txt----[ CLIENT 02, CLIENT 03 ]

    The Server sends "AAA.txt" and "BBB.txt"(text files that client 02 and 03 sent) to Client 01
    [ SERVER ] -----Sends AAA.txt & BBB.txt------ [ CLIENT01]

    If its the source code, I found that it's almost similar to

    VB Winsock Many-Chat 2.00
    http://www.geocities.com/SiliconValley/Campus/6818/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width