Link to home
Start Free TrialLog in
Avatar of Y2Kingswood
Y2Kingswood

asked on

VB (TCP/IP) Chat Program Multi User Send Files

What im trying to do is write a chat program for network use (tcp/ip)
where more than 2 people can chat at once
i would also like to be able to send files through Visual Basic Program to other users on the network that are currently in the chat program.
i dont know if this is possible or not but i dont want to have a server... i want any users on the network to open it and be able to see whos using it and start talking although if no users are detected it could set it self up as the server im not sure yet and wont really know until i get underway making it
thanks

p.s i will be away for a couple of days

Running:   VB 6
O/S:         XP
ASKER CERTIFIED SOLUTION
Avatar of zzzzzooc
zzzzzooc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mike Tomlinson
If all of the parties involved are on a lan behind a firewall then it is  possible to setup such a system without using a central server.  You have to use the UDP protocol though, which essentially broadcasts the packets to everyone and no one in particular.  UDP packets are not guaranteed to arrive in the order they were sent...or arrive at all for that matter!  File transfer would be near impossible to bulletproof in a such a system.

If you want the system to work realiably and efficiently then you need to use the TCP protocol along with a dedicated server to connect to and relay messages as zzzzzooc as already mentioned.

Regards,

Idle_Mind
Avatar of Y2Kingswood
Y2Kingswood

ASKER

hehe yeah im aware that i probably need a server, but i guess that bit can happen later
the main thing is getting a program that multiple users can chat  with, if it uses a server i dont mind for now. i just dont know how to make a server and have the clients log onto that machine and have more than one user log on to that server
by the way all the computers using this program will also have access to the internet so i dont really want somthing that would leave it open to the outside world
alright its an WINSOCK issue .
you can make a program , which will give the user an option to host " Confrance Chat "
so he can be a server ;)
then to make a chat program do you know how to use Winsock ?
if not please post here so i can help you with that
hope this works ;)
alright its an WINSOCK issue .
you can make a program , which will give the user an option to host " Confrance Chat "
so he can be a server ;)
then to make a chat program do you know how to use Winsock ?
if not please post here so i can help you with that
hope this works ;)
cool checking these out