Solved

What replaces the winsock control in .NET?

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 …
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

734 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