Results 1 to 10 of 10

Thread: Chat Client.

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2005
    Posts
    348

    Chat Client.

    Can any of you give me some ideas on how to create a chat client/server so i could run the server on my pc and about 5-10 friends connect to it?
    Please Help Us To Save Ana

    -If you have been Helped, Please Mark Thread [Resolved] using Thread Tools

    -If someone has helped you, Please rate their post.

  2. #2
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Chat Client.

    Microsoft Winsock Control.

    Try searching, there are a million examples on this forum and the net.

    You may be better off just reading a tutorial on the Winsock control itself. After that it will be pretty easy to make a chat program... or whatever else you want.

  3. #3
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: Chat Client.

    Hmm now sorry but i couldn't be bothered starting a new topic since it relates. But how exactly would you run your PC as a server im confused about how to go about it. I work with the winsock control alot when i make chat clients for game servers and just IP based chat clients. But i am unsure of how to go about running my PC as a server any answers or information???

  4. #4
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Chat Client.

    Hi

    Does my attached file in

    http://vbforums.com/showthread.php?t=445844

    Help?
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  5. #5
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    Re: Chat Client.

    I'm not sure if looking at this code could help you but anyway, it uses the MSN network, a Windows Messenger clone in the codebank.
    http://www.vbforums.com/showthread.php?t=325908

  6. #6

  7. #7
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    419

    Re: Chat Client.

    hell lord to make your computer the server you have a different program to everyone else, this server program is where everyone will connect to and talk, the others will have a client program which will connect to your server when they are ready.
    If a post has been usefull then Rate it!

  8. #8
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: Chat Client.

    Seems difficult to make a server program for all clients to connect to. Im use to connecting to other servers.

  9. #9
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Chat Client.

    Quote Originally Posted by Hell-Lord
    Seems difficult to make a server program for all clients to connect to. Im use to connecting to other servers.
    The only difference between your computer and a "server" is that you call the other computers "servers". The computer itself is exactly the same. (If you're behind a router you have to forward ports to the computer, but the computer doesn't change, from its role as a client to its role as a server.) The only thing that determines whether a particular computer is acting as a client or a server is the program running on it. If you run your email program, the computer is a mail client. If you run a chat server program on that same commputer (even at the same time) the computer is running as a chat server.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  10. #10
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Chat Client.

    Seems difficult to make a server program for all clients to connect to. Im use to connecting to other servers.
    Have you checked out the link which I pasted in post#4?
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

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