As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am looking for a tutorial about advanced C# networking, especially about the server part. i want to create a server that can take 1000 connections at the same time. I have learn more about Sockets and TcpClient, but i also know about WCF and UDP. I want an example of server that can have 1000 connections, i have searched on the google about a server like this but i didn't found any or maybe i didn't realize it can take 1000 connections. Do you know some example, tutorial or something else that can help me understand better this technology?
Using the keywords from your question, I came up with:
http://www.codeproject.com/KB/IP/socketsincsharp.aspx
Try to create server that will handle 1 connection first,
then 2,
then 10,
then 1000.
From 'what are sockets' to 'I need server with 1000 connections' there is at least ONE year for you, but don't let that discourage you.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I work as a system developer, mainly programming information systems in C# for web, desktop and server environments. Now I'd like to have a go at game development in C# just for the sake of the challenge and expanding my horizons, but where do I start? I've had a look at XNA, but I heard that it's on the way out.
Where does one begin?
I know this says "Teens" but it may be worth a look: http://www.amazon.co.uk/Visual-Programming-Teens-Course-Technology/dp/1435458486/ref=sr_1_3?ie=UTF8&qid=1371394387&sr=8-3&keywords=c%23+game
I just saw this today funnily enough, I have no affiliate with the author (or Amazon)
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am following this guide here. P2P
One of the advantages I had thought P2P would bring is the fact that it is a serverless setup.
Now that I have this working I noticed that you do need a resolver to keep track of who is connected.
To me this is really does require a server as you need a resolver to make P2P work in the first place.
Ami missing something?
It depends on your definition of a server I suppose. Using a P2P game for example most players will connect to a central point, be matched up and will then communicate between themselves with no involvement from the server.
This means the server doesn't have to host any data it simply has to coordinate those who do. It keeps resources down (as each client only needs to connect once) and the infrastructure is often more robust.
Do you need a central application to coordinate peers? Yes
Does that application need to stream content/data to each peer? No
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
This might be too much to ask. (Why on earth would I want to depart from IIS after all?)
What I'm looking for is a pretty good embeddable HTTP server. I've looked around, and I'm not yet sold on Kayak. But I haven't found many others.
Can anyone recommend a reliable, embeddable HTTP Server written in C#? Preferably one that implements the Python WSGI spec, that would be awesome.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What are some actual, realistic situations that one would need to use raw socket programming over WCF? I know performance is one, but are there any others?
There may be situations where you are talking to a third party system that requires communication via sockets (we have to with one).
When the software at the other end of the connection knows nothing about .NET or WCF - the WCF netTcpBinding assumes both ends are implemented using WCF.
say you need to send receive commands from a external device which does not support WCF communication.
Say you would want to pass some commands to a device connected to your serial port.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
I've learned a lot of programming language, and I think that Java or C# are most likely the best for getting a job, but I was wondering if I am correct in thinking this, or are there other popular languages I should know about?
Looking at the trends, Java is slowly losing popularity whilst C# is increasing in popularity:
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
The Oracle buyout and subsequent astonishing mismanagement of Sun might have an impact on Java's future prospects, but there will always be Java jobs. You can still get jobs working on 30 year old COBOL projects; there's too much Java code around for it to disappear any time soon.