Click to See Complete Forum and Search --> : Sending Message through UDP/TCP Protocol
Subhojit Gon
February 22nd, 1999, 07:55 AM
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
SUBHOJIT GON
February 22nd, 1999, 07:55 AM
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
Ravi Sangisetti
June 2nd, 1999, 01:03 PM
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 ravisetti@hotmail.com.
Ravi Sangisetti
Sr.Software Engineer
Contech India Ltd
Gandinagar, India
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.