CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Internet Controls



Hi friends!
I have wrote a simple app that uses de Internet Activex controls provided by C++ Builder.
I have first wrote a server that uses the TCP control, waiting for a connection via the "Listen" method.
I set the LocalPort property to 90. 
If I open the Netscape navigator and I type: "localhost:90" the control throws the "ConnectionRequest" event, so it work well.
If I make another app that uses the TCP control, and I set the properties: RemoteHost="localhost" and RemotePort=90, and then I execute the Connect(NULL,NULL) method, I have an exception telling me that I can connect from local machine. What happens? What can I do for connecting?
 
Thanks in advantage!
 
Felix Toran Marti
e-mail: felix.toran@serbit.com
Web sobre programación: http://fisica.uv.es/~toran/
ICQ: 7811601
(nick: flixtron)
----------
 
 
 
 
Felix Toran Marti
e-mail: felix.toran@serbit.com
Web sobre programación: http://fisica.uv.es/~toran/
ICQ: 7811601
(nick: flixtron)
----------
 

W Komornicki's Home Page | Main Index | Thread Index