A
Aerodyne
Hi all,
I'm using .NET 2.0 but unfortunately there's a windows service that
needs to be implemented in .NET 1.1 ... so I need to send a file to a
server, what's the similar method of doing so in 1.1?
Socket client = new Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp);
client.Connect("127.0.0.1", 8000);
string fileName = "C:\\Folder\\file.xml";
client.SendFile(fileName);
client.Shutdown(SocketShutdown.Both);
client.Close();
TIA
I'm using .NET 2.0 but unfortunately there's a windows service that
needs to be implemented in .NET 1.1 ... so I need to send a file to a
server, what's the similar method of doing so in 1.1?
Socket client = new Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp);
client.Connect("127.0.0.1", 8000);
string fileName = "C:\\Folder\\file.xml";
client.SendFile(fileName);
client.Shutdown(SocketShutdown.Both);
client.Close();
TIA