?
Solved

What replaces the winsock control in .NET?

Posted on 2004-04-01
3
Medium Priority
?
422 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Assisted Solution

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

Accepted Solution

by:
AlexFM earned 260 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

762 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