Can .NET Remoting Make Sockets Obsolete?
Hello!
I have considered .NET Remoting as an alternative to Sockets in this way:
I want clients to send files to a server
The files been transfered need to be organized ,when they reach the server.Additional metadata will accompany them.
So instead of using sockets and creating my own protocol (validate and recognize metadata/file coming together,in a appropriate form, from the socket)
i thought that .NET Remoting would make the whole process very easy.Client and Server would just exchange objects like :
class Packet(
public fileStream
public strWhoSentIt
public strTypeOfFile
....
Public FillFileStream(bytestream)
....
)
Ok!The above example was written roughly but i hope you get the idea.
What do you think about that?A bit out of the edge?
Any limitations/problems??