Results 1 to 3 of 3

Thread: CHAT

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Location
    FL
    Posts
    76

    Red face

    I want to know how to male a chat program.
    Are there any tutorials out there???

  2. #2
    Addicted Member
    Join Date
    Jan 1999
    Posts
    204
    you can make a chat with winsock.

    process of a winsock chat
    server:
    1)let the server serv
    winsock.localport = whatever
    winsock.listen
    Server:
    2)let winsock connect people winsock_Connectionrequest
    wincok.accecpt = requestid
    Client:
    3)let the client connect
    winsock.connect ip,port
    CLient:
    4)let the client send the data
    button_click
    winsock.senddata txtdata
    Server:
    4)the server sends it out to the client
    winsock_datasomthing
    dim strtemp as string
    winsock.getdata strtemp,vbstring
    winsock.senddata strtemp
    Client:
    5)let the client get the message
    winsock_datsomthing
    dim strtemp as string
    winsock.getdata strtemp,vbstring
    txtlog.text = strtemp

    i just made that at the top of my head i dont now if it works right so e-mail me if it dont and i will send a running one and keep this in mind that only holds one client muti-people chat is not hard i will show you that later

    [Edited by BoB on 11-25-2000 at 12:15 PM]
    WHat would we do with out Microsoft.
    A lot more.

  3. #3
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    If you don't get BoB's code to work, maybe this helps you to get an understanding of how to use Winsock.
    Oetje
    [email protected]
    93606776
    Visual Basic 6, Windows 2000

    Never pet a burning dog

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