Click to See Complete Forum and Search --> : accessing remote machine thru firewall


sriniviji
January 21st, 2003, 08:25 AM
I want to connect to remote machine thru firewall using socket class at particular port number.

Does any one how to implement this in C#?
WebProxy class can be used only for HTTP requests.
But I need regular socket connection thru firewall.

Thanks
Srini

MartinL
January 21st, 2003, 10:45 AM
Look at:

System.Net
System.Net.Sockets

namespaces and especially at Socket, TcpClient and TcpListener classes...

It is in the MSDN...

pareshgh
February 17th, 2003, 06:00 PM
very well said, Martin, as I agree you always I agree here also,
TCP.. classes are for that only, .NET remoting will also help in that case.

thanx Martin,
-Paresh