Sending Message through UDP/TCP Protocol
I am developing a chat room . What I am trying to find out is that whether it is possible to send a message from one user to another indicating that someone is trying to connect him for a chat. The message will be send before the connection and only if the other user acknowledges only then the connection will be established.
If you have the solution please reply back ,
Subhojit
Re: Sending Message through UDP/TCP Protocol
Dear,
U can use "WINSOCK" ActiveX control. It is having a lot of methods.
1. U use two WINSOCK active X controls. One for Server and another for Client.
You keep the Server control in Listen mode.
WINSOCK1.REMOTEHOSTIP = 200.1.1.1
WINSOCK1.Listen = TRUE
2. In Client control
U use WINSOCK2.Connect.
U better see the VB HELP online and search for WINSOCK example. There is a very good example on this. If U still have some problem. U can contact me at address [email protected].
Ravi Sangisetti
Sr.Software Engineer
Contech India Ltd
Gandinagar, India