Tomide
asked on
A 3 way chat
How can i create a 3 way chat not just a server and client but a server and clients. I need to send a message to different computers on a network and i want them all to receive the information when i send it. I know Winsock can do this and i have created a two way Client/Server chat but i do not know how to make all the clients/computers receive the information
ASKER
Thanks M.E.Pierce. I was able to get it done. Do you how i can send an image using picyure box and it appear as an image on the client side? Is this possible at all i have never done or heard anything like it before but i want to add it to my chat.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
M.E.Pierce, Thanks alot i was able to solve the problem play around with my codes and the image stuff too.
Tomide:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
Experts: Post your closing recommendations! Who deserves points here?
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
Experts: Post your closing recommendations! Who deserves points here?
Moderator, my recommended disposition is:
Accept M.E.Pierce's comment(s) as an answer.
DanRollins -- EE database cleanup volunteer
Accept M.E.Pierce's comment(s) as an answer.
DanRollins -- EE database cleanup volunteer
If you are using TCP:
in the server, create an array of Winsock controls(just set the index of your original winsock control to 0)
in the connection_request event:
(I am assuming your winsock control is called Winsock1)
<BEGIN CODE>
Dim wsIdx as Integer
wsIdx = Winsock.UBound +1
Load Winsock(wsIdx)
Winsock(wsIdx).Accept(Requ
<END CODE>
You'll also have to create a subroutine to step through
all the Winsocks send data to all clients.