Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Socket question

Status
Not open for further replies.

luvcloud

Programmer
Apr 23, 2002
24
MY
I've noticed that there are two ways of creating a socket connection, one is using the TCPClient class, and the other is the Socket class. Is there any difference in either one?

Also, AsyncCallback class is another way of multithreading rite?
 
I think the Socket class is closer to the classic Berkeley sockets way of doing things, and the TcpClient (which has methods for hooking up to a stream) is a layer on top of it.

Have you noticed that there is a TcpClient and TcpListener, but only a UdpClient? No UdpListener?

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top