I'm programmin a small chat program and want to know how to send messages over the networks, so that all users using my program will recieve the message...
Samples would be appriciated!! : o )
Printable View
I'm programmin a small chat program and want to know how to send messages over the networks, so that all users using my program will recieve the message...
Samples would be appriciated!! : o )
You are going to either have to use the winsock api, winsock control, or a third party winsock control.
Examples of this are rampant all over, just search, try
http://www.planetsourcecode.com
Just use the the Microsoft Winsock Control that come with the Visual Basic 6.0 will do. not need to call a complicated API function.
As for sample code you can just down load it from the Planet Source Code or from the vb-world Demo Project