• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:48
CET 17:48
KST 01:48
  • 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] Finals Preview: Sweet Victory!12[ASL22] Ro4 Preview: Mirror Mirror6[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5
Community News
Weekly Cups (October 19-25): Clem triples first in 5.0.175Evil Geniuses - shutting down20ISSL (IntoTheTV x SOOP SC2 League): Premier6Weekly Cups (October 12-18): 5.0.17 era begins1[$1250] International ShieldBattery League92
StarCraft 2
General
No more SC2 streamers on team liquid? Weekly Cups (October 19-25): Clem triples first in 5.0.17 How do you feel about the mass reverts in the 5.0.17 PTR? Evil Geniuses - shutting down REPORT: StarCraft 2: Remastered In Development
Tourneys
ISSL (IntoTheTV x SOOP SC2 League): Premier Stellar Fest TWO the Moon (Dec 16-20) RSL 2026 Offline Finals LCQ Sign-Ups Sparkling Tuna Cup - Weekly Open Tournament 2026 KungFu Cup Announcement
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
Simple Questions/Answers [G] How to playtest arcade maps [A] Nemrods 1/4 players
External Content
Mutation # 549 Endless Sparkles The PondCast: SC2 News & Results Mutation # 548 Shining Bright Mutation # 547 Temple Of Terror
Brood War
General
SCHNAIL now supports Remastered Rollback Netcode in Brood War BW General Discussion [Megathread] Daily Funny Videos SC4ALL II Brood War Complete Invited Player Lineup
Tourneys
[Megathread] Daily Proleagues [Women's StarCraft] MonstarZ vs BA 2026-10-30 Star Con San Diego 2026 Small VOD Thread 2.0
Strategy
50,000-Word Terran Builds Memo 2026-10-22 Cliff Jump Revisited (1 in a 1000 strategy) Simple Questions, Simple Answers
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Mobile Legends: Bang Bang Armies of Exigo - YesYes? General RTS Discussion Thread
Dota 2
Dota 2 Champions League Season 3 Begins April 25!
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
European Politico-economics QA Mega-thread US Politics Mega-thread R I P Patrick Stewart Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine
Fan Clubs
Reynor Fan Club The Flash Fan Club Serral Fan Club
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece
Sports
TeamLiquid Health and Fitness Initiative For 2023 Football (Soccer) Thread MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
Innovate or Game Over?
TrAiDoS
ShieldBattery on Mac
Kraekkling
[ASL22] Ro4 Day1 Ticket Giv…
bITt.mAN
Can Bots Beat Pros?? Starcr…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 8674 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
Epic.LAN
22:00
Epic.LAN 49 Group Stage
Liquipedia
GSL
21:00
GSL CK 6
IntoTheiNu 800
SHIN 120
Maru 86
CranKy Ducklings SOOP81
Solar (SOOP)44
ByuN (SOOP) 33
Rogue 30
Rex21
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 189
SHIN 120
Maru 86
Solar (SOOP) 44
BRAT_OK 41
ByuN (SOOP) 33
Rogue 30
Rex 25
Codebar 18
StarCraft: Brood War
Horang2 838
EffOrt 535
FanTaSy 505
ggaemo 448
BeSt 387
Light 358
actioN 279
Soma 162
Snow 162
Barracks 130
[ Show more ]
White-Ra 129
Rush 118
Hyun 62
hero 47
sSak 47
Mong 46
Classic 35
Shinee 31
HiyA 29
ToSsGirL 26
Terrorterran 25
Trap 25
soO 24
Dewaltoss 23
910 22
Rock 16
Bishop 10
Dota 2
Gorgc15138
qojqva1531
syndereN487
League of Legends
Trikslyr52
Heroes of the Storm
crisheroes342
Other Games
singsing1632
Liquid`RaSZi1251
hiko898
Mlord652
DeMusliM370
Hui .182
KnowMe145
Liquid`VortiX144
ArmadaUGS123
XaKoH 82
QueenE43
Chillindude10
Organizations
Counter-Strike
PGL39717
StarCraft: Brood War
lovetv 6
[ Show 18 non-featured ]
StarCraft 2
• StrangeGG 55
• poizon28 50
• 3DClanTV 21
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• FirePhoenix11
• ChaeLyn 4
• Pr0nogo 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis2130
• Jankos1260
• TFBlade660
Other Games
• Shiphtur611
Upcoming Events
Big Brain Bouts
12m
RotterdaM219
OSC
5h 12m
Replay Cast
6h 12m
Sparkling Tuna Cup
17h 12m
WardiTV Invitational
19h 12m
Epic.LAN
20h 12m
IPSL
23h 12m
eOnzErG vs McRibbed
LancerX vs StRyKeR
AI Arena Tournament
1d 1h
OSC
1d 21h
Yamato Cup
1d 22h
[ Show More ]
IPSL
2 days
Artosis vs RiceHat
Kyrie vs Sony
Map Test Tournament
2 days
WardiTV Weekly
2 days
Ultimate Battle
2 days
Rush vs BeSt
Replay Cast
3 days
Rogue vs Classic
Patches Events
3 days
PiGosaur Cup
4 days
Kung Fu Cup
4 days
The PondCast
5 days
KCM Race Survival
5 days
Liquipedia Results

Completed

Proleague 2026-10-28
Blizzard Classic Cup 2026
HCC Season 3

Ongoing

Acropolis #5
KCM Race Survival 2026 Season 4
International ShieldBattery League
BSL Season 23
PGL Masters Bucharest 2026
Stake Ranked Episode 5
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026

Upcoming

IPSL Winter 2026-27
1xBet Invitational
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
eXTREMESLAND 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
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.