Results 1 to 7 of 7

Thread: How to make a Chat?

  1. #1

    Thread Starter
    Member bjawnie's Avatar
    Join Date
    Sep 2002
    Location
    Denmark, FalSTAR
    Posts
    44

    How to make a Chat?

    Hii,

    I know there's lots of tutorials and dozens of free chat for download, but I just wanna know some basics about making a chat app before I start myself.

    I have noticed that almost all VB chat use winsock and as far as I can see that means you need a server and a client chat. Isn't there a way around this. I'm developing a small text based game, just for the kick of it and I don't really like the idea of having a chat server.

    So should I save the chat in a txt file on a server I've access to and won't that limit the number of people being able to chat at once.

    ThanX
    Cheers
    bjawnie

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    You better search this forum for useful info .

  3. #3
    Fanatic Member Armbruster's Avatar
    Join Date
    Sep 2002
    Location
    Maryland Heights, MO
    Posts
    857

    Re: How to make a Chat?

    Originally posted by bjawnie
    I have noticed that almost all VB chat use winsock and as far as I can see that means you need a server and a client chat. Isn't there a way around this.
    You can use the winsock control or the winsock api to create a chat program. You don't need a server to do it. You can do client to client without a dedicated server. You can write it so the program is the client and server on every machine.

    There are examples in MSDN. If you don't have the disk, check out MSDN on-line for examples. Also, my MCSD exam-prep books contain some pretty good winsock examples.
    "Look! Up in the sky! It's a bird! It's a plane! It's Diaper-Head Boy! (there by my name!) Yes, Diaper-Head Boy, who disguised as my son, Seth, fights a never-ending battle for truth, justice and terrorizing my house!

    Resistance is futile, you will be compiled . . . Please!

  4. #4

    Thread Starter
    Member bjawnie's Avatar
    Join Date
    Sep 2002
    Location
    Denmark, FalSTAR
    Posts
    44
    You can use the winsock control or the winsock api to create a chat program. You don't need a server to do it. You can do client to client without a dedicated server. You can write it so the program is the client and server on every machine.
    Hm... Sounds interesting. Does that mean that each chat clients sends info to all the other chat clients? Isn't that a lot of work?

    Great with the references but do you think you could throw me a link to some online resources. ThanX!
    Cheers
    bjawnie

  5. #5
    Fanatic Member Armbruster's Avatar
    Join Date
    Sep 2002
    Location
    Maryland Heights, MO
    Posts
    857
    "Look! Up in the sky! It's a bird! It's a plane! It's Diaper-Head Boy! (there by my name!) Yes, Diaper-Head Boy, who disguised as my son, Seth, fights a never-ending battle for truth, justice and terrorizing my house!

    Resistance is futile, you will be compiled . . . Please!

  6. #6

    Thread Starter
    Member bjawnie's Avatar
    Join Date
    Sep 2002
    Location
    Denmark, FalSTAR
    Posts
    44

    Thumbs up

    f there were a "donate points" function in this forum I would have given your all my points. This is some great references.

    ThanX
    Cheers
    bjawnie

  7. #7
    Fanatic Member Armbruster's Avatar
    Join Date
    Sep 2002
    Location
    Maryland Heights, MO
    Posts
    857
    You are very welcome! Good luck with the project
    "Look! Up in the sky! It's a bird! It's a plane! It's Diaper-Head Boy! (there by my name!) Yes, Diaper-Head Boy, who disguised as my son, Seth, fights a never-ending battle for truth, justice and terrorizing my house!

    Resistance is futile, you will be compiled . . . Please!

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