• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 17:05
CEST 23:05
KST 06:05
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5[ASL22] Ro16 Preview: Rough Waters10[ASL22] Ro24 Preview: Siren's Call8[ASL22] Ro24 Preview: Summer's End9
Community News
Weekly Cups (Sep 13-20): herO scores triple2BSL Season 2312Weekly Cups (Sep 7-12): SHIN, ByuN, MaxPax double down1StarCraft open world shooter announced at BlizzCon101Weekly Cups (Aug 30-Sep 7): herO thrives amid growing schism10
StarCraft 2
General
Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool How do you feel about the StarCraft shooter announcement at BlizzCon 2026? Balance hotfix patch 5.0.16b (July 16) Weekly Cups (Sep 13-20): herO scores triple The Death of Cheese: From a Professional Cheeser
Tourneys
2026 GSTL Grand Finals ScienceCraft (October 24-25) - Live Event Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2) Stellar Fest TWO the Moon (Dec 16-20)
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[M] (2) Frigid Storage
External Content
Mutation # 544 Double Trouble The PondCast: SC2 News & Results Mutation # 543 Enhanced Defenses Mutation # 542 The Ascended
Brood War
General
Bot on ladder Syncronization issues and can't find games PLAYzone Challenge - open offline tour in Prague NaDa's Body SC4ALL II: Brood War Player Announcement 3/4 - soO
Tourneys
[ASL22] Ro8 Day 2 [Megathread] Daily Proleagues [IPSL] IPSL is Back With Winter 26-27! PLAYzone Challenge - open offline tour in Prague
Strategy
Cliff Jump Revisited (1 in a 1000 strategy) Replay Review Process - What do you do? Simple Questions, Simple Answers Odyssey Mineral Stack Saturation
Other Games
General Games
Stormgate/Frost Giant Megathread Warcraft III: The Frozen Throne EVE Corporation Nintendo Switch Thread Diablo IV
Dota 2
Dota 2 Champions League Season 3 Begins April 25! Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Artificial Intelligence Thread All you football fans (soccer)!
Fan Clubs
MarineLorD Fan Club The Creator Fan Club The ShoWTimE Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece Diablo Animated Series on Netflix
Sports
Football (Soccer) Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
Violent-Cooperative Play and…
TrAiDoS
38 yo Retired SWE loo…
PurE)Rabbit-SF
Can Bots Beat Pros?? Starcr…
namkraft
[meme] I finally understa…
LUCKY_NOOB
Regacy Esports:Our Goa…
regacyesports
Customize Sidebar...

Website Feedback

Closed Threads



Active: 8008 users

Starcraft 2 netcoding

Forum Index > SC2 General
Post a Reply
Whakkah
Profile Joined February 2010
Sweden113 Posts
August 18 2010 00:10 GMT
#1
Hi everyone,
Okay, we've spent some time looking around for how SC2 deals with hosting. Is the hosting system different for matchmaking and custom games? Is it all p2p and if so, how does it work exactly? My friend seems to have his mind set on that all sc2 games are p2p (which of course could be possible, but sounds weird to me).
I remember in the wc3 days, I could easily play matchmaking ladder but I couldn't host AT games or custom games unless I had the right ports opened in order to enable the p2p. So, does that mean that the matchmaking takes place serverside? Also, is this the same at SC2?

Sorry if there's been threads about this, but I couldn't find them. If there are any, please point me in that direction.

As always, thanks in advance.

/Zore
vindKtiv
Profile Blog Joined June 2009
United States215 Posts
Last Edited: 2010-08-18 00:16:01
August 18 2010 00:14 GMT
#2
I believe StarCraft 2 uses a client-server model, where the servers are hosted by Blizzard. There was a thread about it during the beta.

Edit:

Oh wait, sorry.
It's P2P
Lennon
Profile Joined February 2010
United Kingdom2275 Posts
August 18 2010 00:15 GMT
#3
It can't be P2P.
toosoon
Profile Joined July 2010
United States18 Posts
Last Edited: 2010-08-18 00:23:13
August 18 2010 00:16 GMT
#4
If it was p2p, you would be able to easily verify this by running netstat on a windows box. I'm about 99.999% sure it isn't p2p... that would be too large a security threat to players.

Edit:
Not to mention, if games were played p2p, it would become much easier to perform packet injection via a router.

I looked at R1CH's post that was linked (only the first post). He doesn't really mention how he drew the conclusion that games are p2p. I'm not saying he's wrong, but some more supporting info would be nice.
NuKedUFirst
Profile Blog Joined March 2010
Canada3139 Posts
August 18 2010 00:19 GMT
#5
It's not P2P, hence why you don't have to forward any ports on your router.
FrostedMiniWeet wrote: I like winning because it validates all the bloody time I waste playing SC2.
deth
Profile Blog Joined August 2009
Australia1757 Posts
August 18 2010 00:29 GMT
#6
R1CH says it is routed through a Blizzard server, as both players send their data to it and synch up. Not P2P.
Whakkah
Profile Joined February 2010
Sweden113 Posts
August 18 2010 00:31 GMT
#7
Okay, thanks.

But if it's routed... where is the actual server hosted? By routed, is that the same as hosted?
deth
Profile Blog Joined August 2009
Australia1757 Posts
August 18 2010 00:43 GMT
#8
On August 18 2010 09:31 Whakkah wrote:
Okay, thanks.

But if it's routed... where is the actual server hosted? By routed, is that the same as hosted?


There's a server(s) for every region, US hosted on US, SEAsia in singapore, etc
Whakkah
Profile Joined February 2010
Sweden113 Posts
August 18 2010 01:03 GMT
#9
On August 18 2010 09:43 deth wrote:
Show nested quote +
On August 18 2010 09:31 Whakkah wrote:
Okay, thanks.

But if it's routed... where is the actual server hosted? By routed, is that the same as hosted?


There's a server(s) for every region, US hosted on US, SEAsia in singapore, etc



So then it is ultimately remotely hosted? Either way, is there a source for this?
Xapti
Profile Joined April 2010
Canada2473 Posts
Last Edited: 2010-08-18 06:18:32
August 18 2010 06:09 GMT
#10
I am pretty sure there is rather critical server traffic going on in games of SC2, otherwise a server emulator or "LAN hack" would be a lot easier to do (and likely be available already I'd guess).

As far as I heard (this is not recent information though), it is client-server, since all traffic is routed through the server before going to the opponent.

Edit: I was wondering the difference (or if there was a difference) between server hosted/client-server and server-routed, but I just realized it I think.

As far as I understand, the server is just acting as a dummy passing along information (like a router/switch/hub), which adds security to the users.
No additional functionality is done through the server though, which sucks. You'd think there'd be nothing to it when it comes to adding anti-disconnect functionality though. That's the one thing I'm still a bit confused on.
"Then he told me to tell you that he wouldn't piss on you if you were on fire" — "Well, you tell him that I said that I wouldn't piss on him if he was on Jeopardy!"
MavercK
Profile Joined March 2010
Australia2181 Posts
August 18 2010 07:08 GMT
#11
it's not p2p or a private server would have been already released.
Brood War Remake - SC2BW - http://www.teamliquid.net/forum/viewmessage.php?topic_id=145316
Iggyhopper
Profile Joined July 2010
United States259 Posts
August 18 2010 07:18 GMT
#12
It's not direct P2P. Everything gets sent through battle.net.
vek
Profile Joined March 2010
Australia936 Posts
August 18 2010 07:19 GMT
#13
It is P2P but the connection goes through battle.net as the middle man. You never connect directly to the other person. All data gets "routed" through battle.net. The game is never hosted by battle.net. Battle.net has no say in the game state or which clients get what data.

It's unfortunate they didn't go for a more dedicated server style of hosting that made maphacks/dischacks impossible... but that's just the way it is.

I believe the reason it was designed like this was to get around the port forwarding problems people had in BW/WC3.
illumination
Profile Joined August 2010
Korea (South)248 Posts
Last Edited: 2010-08-18 07:23:08
August 18 2010 07:21 GMT
#14
p2pbecause bnet 2.0 is revolutionary... oh wait

well its not 100% p2p but its more of a p2p2b but either way its not ideal
Welcome to TL - Where Terran have been teaching the Zerg / Toss pros how to play since Patch 11
AcOrP
Profile Joined November 2009
Bulgaria148 Posts
August 18 2010 07:48 GMT
#15
On August 18 2010 16:19 vek wrote:
It is P2P but the connection goes through battle.net as the middle man. You never connect directly to the other person. All data gets "routed" through battle.net. The game is never hosted by battle.net. Battle.net has no say in the game state or which clients get what data.

It's unfortunate they didn't go for a more dedicated server style of hosting that made maphacks/dischacks impossible... but that's just the way it is.

I believe the reason it was designed like this was to get around the port forwarding problems people had in BW/WC3.

what you said is just exact opposite to P2P peer to peer is where there is no server in between.
I will check when i get back from work how exactly the things are. And its about time till SC2 is reverse engineer and there is bnet2.0 emulators out.
vek
Profile Joined March 2010
Australia936 Posts
August 18 2010 07:55 GMT
#16
On August 18 2010 16:48 AcOrP wrote:
Show nested quote +
On August 18 2010 16:19 vek wrote:
It is P2P but the connection goes through battle.net as the middle man. You never connect directly to the other person. All data gets "routed" through battle.net. The game is never hosted by battle.net. Battle.net has no say in the game state or which clients get what data.

It's unfortunate they didn't go for a more dedicated server style of hosting that made maphacks/dischacks impossible... but that's just the way it is.

I believe the reason it was designed like this was to get around the port forwarding problems people had in BW/WC3.

what you said is just exact opposite to P2P peer to peer is where there is no server in between.
I will check when i get back from work how exactly the things are. And its about time till SC2 is reverse engineer and there is bnet2.0 emulators out.


How is it the opposite? There is still no "server" in the current set up. Data just gets sent from client1 -> battle.net -> client2. There is no game state on battle.net, the authoritative game state exists on the clients which is exactly how P2P networked games work.

The only difference from "pure" P2P is that there is a 3rd party (battle.net) sitting between all of the connected clients passing the messages along.
opticalza
Profile Joined May 2010
New Zealand188 Posts
Last Edited: 2010-08-18 08:11:23
August 18 2010 08:10 GMT
#17
Seems to be a lot of speculation here.

The model is routed peer to peer, like R1CH said in his thread.

This is NOT p2p. All players are connected to a server hosted by blizzard, which simply redirects traffic to all the clients, like a router. This means there is no host benefit, and it is harder to create disc hacks, as you cannot simply kill the socket like in BW.

Custom games are also Routed peer to peer.

As far as this making private servers harder to implement - Hardly - it's very, very simple (the routing aspect) - a large portion of the protocol has been reverse engineered, but its not public. The only reason we do not see them popping up is that blizzard's lawyers are actively shutting any projects down. Blizzard has previously gone against private servers and emulation, and has won.

Sources on private server suits:
Beta Battle.net 2.0 emulator shutdown - http://www.gamasutra.com/view/news/28213/Blizzard_Sues_StarCrack_Hackers_Promptly_Dismisses_Suit.php

Scapegaming loses court case - http://www.wow.com/2010/08/14/private-server-company-forced-to-pay-blizzard-88-million/

Bnetd case (battle.net 1.0 server) - http://en.wikipedia.org/wiki/Bnetd#Blizzard_takedown_demand_and_lawsuit
vek
Profile Joined March 2010
Australia936 Posts
August 18 2010 08:21 GMT
#18
I suppose routed P2P is a reasonable way to describe it.

If you look at it purely from an architecture point of view then no, it is not P2P. However if you look at how the data flows between the clients and the fact there is no central server with a running game state it works the same way P2P works.
Please log in or register to reply.
Live Events Refresh
WardiTV Invitational
16:00
WardiTV 10 Group C Replay Cast
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
EmSc Tv 32
Nina 25
StarCraft: Brood War
Britney 19173
Shuttle 479
HiyA 77
910 38
Terrorterran 18
yabsab 17
League of Legends
Doublelift1662
Counter-Strike
fl0m2243
Other Games
summit1g5058
Grubby2877
Beastyqt715
B2W.Neo481
shahzam475
KnowMe253
C9.Mang0207
Pyrionflax169
ArmadaUGS147
Trikslyr48
PPMD18
Organizations
StarCraft: Brood War
Afreeca ASL 242
StarCraft 2
EmSc Tv 32
EmSc2Tv 32
[ Show 12 non-featured ]
StarCraft 2
• StrangeGG 63
• Hupsaiya 37
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• HerbMon 59
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• Shiphtur208
Upcoming Events
The PiG Daily
55m
ByuN vs Rogue
herO vs SHIN
Serral vs TBD
Clem vs TBD
CranKy Ducklings
12h 55m
AI Arena Tournament
19h 55m
BSL: Ladder Tournament
21h 55m
GSL
1d 10h
Yamato Cup
1d 17h
BSL Open Qualifier
1d 21h
BSL Open Qualifier
1d 21h
Replay Cast
2 days
Afreeca Starleague
2 days
Soma vs Jaedong
[ Show More ]
WardiTV Weekly
2 days
Monday Night Weeklies
2 days
Sparkling Tuna Cup
3 days
Afreeca Starleague
3 days
Leta vs Soulkey
PiGosaur Cup
4 days
Kung Fu Cup
4 days
The PondCast
5 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-09-23
Blizzard Classic Cup 2026
Big Dog Cup 2026 Div 1

Ongoing

ASL Season 22
CSL 2026 AUTUMN (S22)
Acropolis #5
Acropolis #5 - GSA
Calamity Invitational
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3

Upcoming

Acropolis #5 - GSB
Acropolis #5 - GSC
BSL Season 23
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Custodian Cup
Copium Cup
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.