Networking transfer  
Author Message
cosmicX





PostPosted: .NET Framework Networking and Communication, Networking transfer Top

I am developing a program over the network. Two users will be able to communicate with each other and transfer some data.
Is it involve with the socket programming
I am not sure on how to implement this. Any ideas or guide for this field

thank you





.NET Development29  
 
 
RizwanSharp





PostPosted: .NET Framework Networking and Communication, Networking transfer Top

Yes Sockets will be best for creating a real time system like MSN Messenger etc.

You can use TcpClient and TcpListener classes to do this which both are wrapper around Socket class and hide many complexities providing a friendly programming interface to novice network programmer.

When 2 parties are connected using above 2 classes then you can use NetworkStream to transfer data.

All the above classes reside in System.Net.Sockets namespace and MSDN have got very good explaination and samples of each.

I hope this will help.

Best Regards,

Rizwan aka RizwanSharp



 
 
Mark Dawson





PostPosted: .NET Framework Networking and Communication, Networking transfer Top

Hi,

it probably will involve socket programming but you have many ways of communicating, low level network programming, web services, remoting. Remoting is nice because it allows you to pass objects between different processes, I actually made an instant messenger application using it, see http://www.markdawson.org/software and you will be able to look at some sample code.

Mark.



 
 
cosmicX





PostPosted: .NET Framework Networking and Communication, Networking transfer Top

Ok thank you very much for the reply..
I will look through the code and develop my own applications.
Thank you for the replies