I want to know how to male a chat program.
Are there any tutorials out there???
Printable View
I want to know how to male a chat program.
Are there any tutorials out there???
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]
If you don't get BoB's code to work, maybe this helps you to get an understanding of how to use Winsock.:)