Winsock versus UdpClient

  • Thread starter Thread starter Joaquim Pinto
  • Start date Start date
J

Joaquim Pinto

Hi All,
I'm start using C#, prior I used VB6, and I would like to know the
following.
I'm developing an app that as several pc's on the same network and
each one of them must perform a task if they receive an incoming
"signal" from another pc.

I did this in VB6 with "Winsock" like a peer2peer app by using the
sendData and getData.
One of the pc's sends a text saying "ok" and when the other pc reads
that it performs a particular task, in this case it updates the values
according with a database.

I would like to know how I could do this in C#.

Thanks All,

Regards,

Joaquim Pinto
 
Joaquim,
I did this in VB6 with "Winsock" like a peer2peer app by using the

You can do the same by using the classes in the System.Net.Sockets
namespace. Look at the TcpClient, TcpListner and UdpClient classes.

Phil...
 
Back
Top