Help!
The example in MSDN is confusing...
And I lost in Google...
(>_<")
Anybody know good socket tutorial (a simple one) in .NET?
There is something called backlog in the parameters, what it is by the way?
Help!
The example in MSDN is confusing...
And I lost in Google...
(>_<")
Anybody know good socket tutorial (a simple one) in .NET?
There is something called backlog in the parameters, what it is by the way?
Last edited by audinue; 08-02-2008 at 08:12 PM.
C# Sockets Tutorials
MSDN - Socket.Listen method:
See section 4.14 here for a good explanation of the backlog parameter.Originally Posted by MSDN
Thank you, rags_to_riches.
http://www.developerfusion.co.uk/show/3918/3/Nice one
backlog,... Why they don't use maxConnection term instead?
I think I'll switch to .NET technology from native C, even they are slower (T_T")
They provide a LOT of API that easy to use (people say).
I just wondering why C# / C++ syntax become complex?
Something like Delegate, why they don't use virtual functions instead?
It makes our code looks ugly after all... *sob* we need to explain more to our friend for that.
Mmm because a delegate is in no way related to a virtual function? Delegates are type-safe function pointers pretty much.
Instead of delegates you can try lambda functions. You can declare a delegate like a function and assign that to the eventlistener that handles it, or do it inline, or use a lambda.