Hi,
I want to create 2 simple programs which can communicate with eachother, client and server.
I was able to do this really easily with Visual Basic 6 using the Winsock control, but now I have heard you should use Sockets in .NET
Can anyone help me get started on using Sockets, as I have no idea how to use them - reading about sockets in the msdn just explains information which is irrelevant to what i want - it included dns resolving, which i dont need - i just want a simple connect to certain ip, transmit some data and close; simple as it gets with winsock.I have that so far, where the hell do I go now? Or is there a different way to start. I wish it was just as simple as before...VB Code:
Dim sServer As New Socket(AddressFamily.InterNetwork, _ SocketType.Stream, ProtocolType.Tcp)
Is it possible to use winsock anyway? Im feeling these errors it may produce aren't going to bother me if to fix them requires learning how to use Sockets - way too much work just to make the foundations to a simple client/server app.
Thanks very much
