• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 03:38
CEST 09:38
KST 16:38
  • 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
Code S Season 1 - RO8 Preview1[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10
Community News
Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event11Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25Maestros of the Game 2 announced9
StarCraft 2
General
Code S Season 1 - RO8 Preview Behind the Blue - Team Liquid History Book Weekly Cups (April 27-May 4): Clem takes triple Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Code S Season 1 (2026) - RO12 Results
Tourneys
GSL Code S Season 1 (2026) Sparkling Tuna Cup - Weekly Open Tournament RSL Revival: Season 5 - Qualifiers and Main Event StarCraft Evolution League (SC Evo Biweekly) 2026 GSL Season 2 Qualifiers
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
Mutation # 524 Death and Taxes The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base
Brood War
General
(Spoiler) Asl ro8 D winner interview BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Do we have a pimpest plays list? AI Question
Tourneys
[ASL21] Ro8 Day 4 [ASL21] Ro8 Day 3 [Megathread] Daily Proleagues [ASL21] Ro8 Day 2
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV OutLive 25 (RTS Game) Daigo vs Menard Best of 10 Nintendo Switch Thread
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread Russo-Ukrainian War Thread 3D technology/software discussion Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread Formula 1 Discussion McBoner: A hockey love story
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Movie Stars In Video Games: …
TrAiDoS
ramps on octagon
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1047 users

SC2NetInfo

Blogs > R1CH
Post a Reply
1 2 Next All
R1CH
Profile Blog Joined May 2007
Netherlands10342 Posts
December 28 2010 04:15 GMT
#1
I've seen a number of posts where people claim to be able to reduce lag in SC2 by way of the Leatrix Latency Fix (among other suggestions that don't actually do anything). This was a valid suggestion in the beta since SC2 used TCP which is what the latency fix changes (it disables delayed acks, resulting in a latency improvement in exchange for lower throughput). However Blizzard has implemented UDP in SC2, of which no amount of OS tweaking will improve since UDP is packet oriented rather than stream oriented.

Usually you will be playing games on SC2 bnet using UDP since the SC2 UDP protocol is faster, incredibly tolerant to packet loss (I tested 75% packetloss and still didn't get dropped) and doesn't suffer from the ack issues or slow start issues of TCP. However, if something is preventing you from using UDP such as a firewall, router or other misconfiguration, bnet will revert to using TCP without telling you which could result in increased lag and drops.

The point of this blog post is a tool I made called SC2NetInfo that will tell you whether you are using TCP or UDP when playing SC2. Grab Sc2NetInfo.7z and extract both files somewhere. Run SC2 and start a Multiplayer Custom Game vs an AI - while this tool does work in regular ladder games, there is a small risk of crashing SC2 when it is run due to race conditions. Run Loader.exe to load the analyzer. You will see a window with the number of TCP and UDP packets sent, whichever number is increasing is the protocol your SC2 is using. Requires VC 2008 runtimes if you don't have them already.

If you are using TCP, this means that bnet wasn't able to communicate over UDP for some reason. Check any firewall software to ensure SC2 isn't blocked or anything in your router (you don't need any port forwarding for SC2 - turn it off if you have any). SC2 UDP runs on port 1119.

WARNING: While this doesn't modify SC2 at all, this is still a 3rd party program and you should use this at your own risk.

*****
AdministratorTwitter: @R1CH_TL
TL+ Member
Vequeth
Profile Blog Joined April 2009
United Kingdom1116 Posts
Last Edited: 2010-12-28 04:33:14
December 28 2010 04:18 GMT
#2
Will try this out, thanks

My connection from Singapore -> NA servers has been laggy as hell.

After a game: 15 TCP 7232 UDP, so looks like that isnt the issue.
Aspiring British Caster / Masters Protoss
synapse
Profile Blog Joined January 2009
China13814 Posts
December 28 2010 04:50 GMT
#3
R1CH you are fucking godly.
:)
Froadac
Profile Blog Joined July 2009
United States6733 Posts
December 28 2010 06:16 GMT
#4
On December 28 2010 13:50 synapse wrote:
R1CH you are fucking godly.

^ Yep. I wanna be just like rich when I grow up <3
MoreFaSho
Profile Blog Joined May 2010
United States1427 Posts
December 28 2010 06:58 GMT
#5
FYI (that's efff, your eye?), it's possible to disable slow start after idle in the kernel for the tcp stack, I'm not an expert in it, but I know it's possible, don't really know what the downsides would be.
I always try to shield slam face, just to make sure it doesnt work
Zlasher
Profile Blog Joined February 2010
United States9129 Posts
December 28 2010 07:04 GMT
#6
i'm scared to touch the wizards magic
Follow me: www.twitter.com/zlasher
R1CH
Profile Blog Joined May 2007
Netherlands10342 Posts
December 28 2010 07:19 GMT
#7
On December 28 2010 15:58 MoreFasho wrote:
FYI (that's efff, your eye?), it's possible to disable slow start after idle in the kernel for the tcp stack, I'm not an expert in it, but I know it's possible, don't really know what the downsides would be.

It's more than just slow start though, the exponential backoff in response to dropped packets kills games like SC2.
AdministratorTwitter: @R1CH_TL
TL+ Member
SonuvBob
Profile Blog Joined October 2006
Aiur21550 Posts
December 28 2010 07:49 GMT
#8
On December 28 2010 16:19 R1CH wrote:
Show nested quote +
On December 28 2010 15:58 MoreFasho wrote:
FYI (that's efff, your eye?), it's possible to disable slow start after idle in the kernel for the tcp stack, I'm not an expert in it, but I know it's possible, don't really know what the downsides would be.

It's more than just slow start though, the exponential backoff in response to dropped packets kills games like SC2.

Chill, Hot_Bid, are you reading this?
Administrator
disco
Profile Blog Joined June 2009
Netherlands1667 Posts
December 28 2010 08:17 GMT
#9
Wizard says what?
this game is a fucking jokie
SpoR
Profile Blog Joined November 2010
United States1542 Posts
December 28 2010 09:22 GMT
#10
wait so you're saying if I forwarded the ports for sc2 I should take it away? Why?
A man is what he thinks about all day long.
R1CH
Profile Blog Joined May 2007
Netherlands10342 Posts
December 28 2010 10:05 GMT
#11
Because SC2 doesn't accept incoming connections.
AdministratorTwitter: @R1CH_TL
TL+ Member
zatic
Profile Blog Joined September 2007
Zurich15365 Posts
December 28 2010 10:24 GMT
#12
First we didn’t think it would be possible to create SC2ProMod before the SC2 release. After all, Blizzard hasn’t implemented much of the game yet, and large parts of the Beta are protected against crackers. They did a much better job obfuscating their SLO’s for example. However, after probing some of the less obvious registers it appeared that they forgot to properly pad a couple of the bigints on the D3D integration. From there, injecting a hook for SC2ProMod into the Hold-RIs was a piece of cake. The rest was straightforward assembly redialing.

-- R1CH, Wizard
ModeratorI know Teamliquid is known as a massive building
SpoR
Profile Blog Joined November 2010
United States1542 Posts
December 29 2010 06:17 GMT
#13
I am on a wifi connect for fios which is super fast, but i still get skipping and It said I was on TCP. No ports were forwarded but there is some port triggering, but I dunno what this is exactly.

Port Triggering

Trigger opening of ports for incoming data.


NOTE: Only advanced technical users should use this feature.

Protocol Outgoing Trigger Ports Incoming Ports to Open Action
L2TP Triggering - Layer Two Tunneling Protocol
UDP Any -> 1701 UDP Any -> Same as Initiating Ports

TFTP Triggering - Trivial File Transfer Protocol
UDP 1024-65535 -> 69 UDP Any -> Same as Initiating


A man is what he thinks about all day long.
konadora *
Profile Blog Joined February 2009
Singapore66360 Posts
December 29 2010 07:08 GMT
#14
idk exactly what i just read but i'm pretty damn sure it'll work
POGGERS
SpoR
Profile Blog Joined November 2010
United States1542 Posts
December 29 2010 07:46 GMT
#15
Well this time it was using UDP but i still got lag spikes. Pretty frustrating to lose a game you should have won because a pylon didn't cancel during a quick spike causing you to not have money for a canon before your probe dies.
A man is what he thinks about all day long.
R1CH
Profile Blog Joined May 2007
Netherlands10342 Posts
December 29 2010 09:27 GMT
#16
It's most likely your wireless that is the problem, FIOS should be low enough latency to never have any lag issues on bnet.
AdministratorTwitter: @R1CH_TL
TL+ Member
Marksman
Profile Blog Joined May 2009
Malaysia523 Posts
December 29 2010 12:08 GMT
#17
Awesome R1ch, will try your hard work ;D
I live by the LoL
Nazza
Profile Blog Joined August 2010
Australia1654 Posts
December 29 2010 12:18 GMT
#18
wait, I don't get why this is in blogs? Shouldn't this be in SC2 General?
No one ever remembers second place, eh? eh? GIVE ME COMMAND
R1CH
Profile Blog Joined May 2007
Netherlands10342 Posts
January 05 2011 06:37 GMT
#19
I usually post all my little projects in blogs, it's kind of too specific for SC2 General.
AdministratorTwitter: @R1CH_TL
TL+ Member
jacen
Profile Blog Joined April 2004
Austria3644 Posts
January 05 2011 07:33 GMT
#20
On December 28 2010 13:15 R1CH wrote:WARNING: While this doesn't modify SC2 at all, this is still a 3rd party program and you should use this at your own risk.

Could you specify what and where you are reading from?
If you are hooking network libraries from windows, there shouldn't be much trouble. I think warden is just especially allergic to reads and writes to/from sc2 allocated ram space.

Anyway, many thx for this thing (even if didn't check it out yet).
This will be incredible helpful at lan parties to show the orgas what the problem is.
(micronesia) lol we aren't going to just permban you (micronesia) "we" excludes Jinro
1 2 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 1h 52m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
-ZergGirl 82
StarCraft: Brood War
Flash 3351
Mong 152
actioN 93
Noble 40
SilentControl 17
Bale 16
ZergMaN 12
Dota 2
monkeys_forever199
League of Legends
JimRising 587
Counter-Strike
Stewie2K1139
Super Smash Bros
Mew2King64
Westballz28
Other Games
summit1g7419
C9.Mang0578
Sick230
ROOTCatZ57
Nina39
Organizations
Other Games
gamesdonequick561
Dota 2
PGL Dota 2 - Main Stream27
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 12 non-featured ]
StarCraft 2
• LUISG 24
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt560
Upcoming Events
GSL
1h 52m
Classic vs Cure
Maru vs Rogue
GSL
1d 1h
SHIN vs Zoun
ByuN vs herO
OSC
1d 3h
OSC
1d 5h
Replay Cast
1d 16h
Escore
2 days
The PondCast
2 days
WardiTV Invitational
2 days
Zoun vs Ryung
Lambo vs ShoWTimE
OSC
2 days
Replay Cast
2 days
[ Show More ]
CranKy Ducklings
3 days
RSL Revival
3 days
SHIN vs Bunny
ByuN vs Shameless
WardiTV Invitational
3 days
Krystianer vs TriGGeR
Cure vs Rogue
uThermal 2v2 Circuit
3 days
BSL
3 days
Replay Cast
3 days
Sparkling Tuna Cup
4 days
RSL Revival
4 days
Cure vs Zoun
Clem vs Lambo
WardiTV Invitational
4 days
BSL
4 days
GSL
5 days
Afreeca Starleague
5 days
Monday Night Weeklies
5 days
Afreeca Starleague
6 days
CranKy Ducklings
6 days
Liquipedia Results

Completed

Proleague 2026-05-05
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
YSL S3
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026

Upcoming

Escore Tournament S2: W6
KK 2v2 League Season 1
BSL 22 Non-Korean Championship
Escore Tournament S2: W7
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 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.