Solved

What replaces the winsock control in .NET?

Posted on 2004-04-01
3
416 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

758 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

21 Experts available now in Live!

Get 1:1 Help Now