Solved

What replaces the winsock control in .NET?

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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Powershell File Sort 8 41
SQL Query Help Top 1 and Distinct? 6 36
Get month and date in a format 4 33
MYSQL responding very slow 3 25
IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

830 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