Register for your free account! | Forgot your password?

Go Back   elitepvpers > Silkroad Online > SRO Coding Corner
You last visited: Today at 13:17

  • Please register to post and access all features, it's quick, easy and FREE!


Difference between TCPListener and Socket.Listen?

Old   #1
elite*gold: 0
Join Date: Aug 2013
Posts: 22
Received Thanks: 2
Question Difference between TCPListener and Socket.Listen?

As the title says, -when it comes to sro- is there a difference between TCPListener and Socket.Listen?

ReviveSRO is offline  
Old   #2
elite*gold: 0
Join Date: Jan 2009
Posts: 207
Received Thanks: 392
TcpListener or TcpClient provide simpler methods for listening or connecting using the TCP.
Internally they're also using the Socket class, which in contrast also supports different protocols, such as UDP, making it more complicated to use for beginners as functions like Socket.ReceiveFrom are exclusively designed for UDP.
You kinda need to know what you're doing when using Socket.

The only thing relevant for Silkroad is the used protocol being TCP.

DaxterSoul is offline  
1 User
Old   #3
elite*gold: 0
Join Date: Aug 2013
Posts: 22
Received Thanks: 2
I see, so doesn't matter using either .. I will stick with Socket.Listen then ... thank you Daxter
ReviveSRO is offline  

« Previous Thread | Next Thread »

Similar Threads
.net TCPListener.AcceptTCPClient Problem
Moin, ich möchte n server machen mit multi clients dazu brauch ich ja die tcplistener.acceptcpclient methode welche mir den letzten verbundenen...
3 Replies - .NET Languages
Difference Between Luck and Chance
To be honest when people always say its 4/10 chance (or what ever) and it's then argued with, "No it's luck".. I wanna say what the F**K! For all...
69 Replies - CO2 Guides & Templates
LUCK! ALL LUCK! CRAZY SOBs! lol ROFFLE COPTER! THERE IS NO TRICK. >:o >:o >:o >:o >:o >:o >:o >:o >:o >:o :eek: :eek: :eek: :eek: :eek:...
4 Replies - CO2 Main - Discussions / Questions

All times are GMT +2. The time now is 13:17.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.