Solved

What replaces the winsock control in .NET?

Posted on 2004-04-01
3
417 Views
Last Modified: 2007-12-19
Sounds funny I know however I mostly write database programs. I was wanting to write a game that I can place on a server and have people on the network connect and play. In VB6 you would use a winsock control to do this. What is the equivlent in .NET ?? I don't see any type of control in the toolbox that would do this?
0
Comment
Question by:ScrptMasta
3 Comments
 
LVL 7

Assisted Solution

by:ramesh12
ramesh12 earned 60 total points
ID: 10737706
0
 
LVL 48

Accepted Solution

by:
AlexFM earned 65 total points
ID: 10738886
.NET has a lot of classes which may be used for communications. Just find a good sample and see how this is done. For example, this is a good chat sample in C#:

http://www.codeproject.com/csharp/socketsincs.asp
0
 
LVL 7

Author Comment

by:ScrptMasta
ID: 10765885
Thanks guys for the help but I found what I was looking for.

.NET uses the System.Net.Sockets class for network communications. If you guys are interested you can read about it here. I'm going to split the points between you 2 for your efforts thanks again.

System.Net.Sockets Namespace
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemnetsockets.asp
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now