Results 1 to 5 of 5

Thread: Creating an internet chat program

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2008
    Posts
    11

    Creating an internet chat program

    Hi, i`m looking into creating an internet chat program, similar to windows messenger, how would i go about doing this, i have a dedicated server (if needed) basically i require a private and public messaging system. is winsock only for regular networks?
    Thanks
    Anthony

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: Creating an internet chat program

    See the link in my signature. It'll give you a good start.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Creating an internet chat program

    Probably the link to the TCP client/server connection, I would assume. heheehe
    My usual boring signature: Nothing

  4. #4
    Lively Member Divine's Avatar
    Join Date
    Jun 2007
    Location
    Louisiana
    Posts
    68

    Re: Creating an internet chat program

    If you're using Vista and VS 08, you can use the C4F Vista P2P Toolkit. It's pretty awesome (despite the fact that it's Vista-only), and making a chat program is much easier.

    http://www.microsoft.com/express/sam...p/Default.aspx

    I think there's someway to get it to work on XP though you'll need to download some third-party files because it works on my XP computer and I remember I downloaded a DLL or something, but can't recall what and where it is.

    But personally I like coding things out myself and that's the fun in programming (getting errors is fun, too...sometimes).
    "He who asks a question is a fool for five minutes; he who does not ask a question remains a fool forever."

  5. #5
    Frenzied Member bmahler's Avatar
    Join Date
    Oct 2005
    Location
    Somewhere just west of the Atlantic
    Posts
    1,568

    Re: Creating an internet chat program

    Moeur posted a great example that included file transfer in the codebank I used it as the basis of a program that i wrote for transfering data from my server to multiple clients and it works very well. http://www.vbforums.com/showthread.php?t=390875

    One thing with creating a chat program is that you are going to need a server to tunnell your messages through to avoid forcing the users to create firewall rules in their routers to let your program through. With a server tunnel you can open the connection from the client to the server on both ends and then tunnel the messages through the server.
    Boooya
    • Visual Studio 2008 Professional
    • Don't forget to use [CODE]your code here[/CODE] when posting code
    • Don't forget to rate helpful posts!
    • If you're question was answered please mark your thread [Resolved]


    Code Contributions:
    PHP
    PHP Image Gallery v1.0PHP Image Gallery v2.0
    VB 2005
    Find Computers on a networkSimple License EncryptionSQL Server Database Access dllUse Reflection to Return Crystal ReportDocumentSilently Print PDFGeneric Xml Serailizer


    Useful Links: (more to come)
    MSDN (The first and foremost)MSDN Design Guidelines API Reference • Inno Setup CompilerInno Setup PreprocessorISTool - Fairly easy to use GUI for creating inno setup projects • Connection StringsNAnt -Automated BuildsCruise Control .NET - Frontend for automated builds

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