• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:17
CET 19:17
KST 03:17
  • 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
[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy7ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289
Community News
Weekly Cups (March 16-22): herO doubles, Cure surprises3Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool48Weekly Cups (March 9-15): herO, Clem, ByuN win42026 KungFu Cup Announcement6BGE Stara Zagora 2026 cancelled12
StarCraft 2
General
Potential Updates Coming to the SC2 CN Server What mix of new & old maps do you want in the next ladder pool? (SC2) Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Weekly Cups (March 16-22): herO doubles, Cure surprises Weekly Cups (August 25-31): Clem's Last Straw?
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament World University TeamLeague (500$+) | Signups Open RSL Season 4 announced for March-April WardiTV Team League Season 10 KSL Week 87
Strategy
Custom Maps
[M] (2) Frigid Storage Publishing has been re-enabled! [Feb 24th 2026]
External Content
The PondCast: SC2 News & Results Mutation # 518 Radiation Zone Mutation # 517 Distant Threat Mutation # 516 Specter of Death
Brood War
General
RepMastered™: replay sharing and analyzer site mca64Launcher - New Version with StarCraft: Remast How much money terran looses from gas steal? ASL21 General Discussion BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL21] Ro24 Group C [Megathread] Daily Proleagues [ASL21] Ro24 Group B 2026 Changsha Offline Cup
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2
Other Games
General Games
General RTS Discussion Thread Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion 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
TL Mafia Community Thread Five o'clock TL Mafia Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books Movie Discussion! [Manga] One Piece
Sports
2024 - 2026 Football Thread Cricket [SPORT] Formula 1 Discussion Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1512 users

SC2NetInfo

Blogs > R1CH
Post a Reply
Normal
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
Zurich15364 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
Singapore66358 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
R1CH
Profile Blog Joined May 2007
Netherlands10342 Posts
January 05 2011 10:02 GMT
#21
It hooks winsock; unhooks and unloads on application close. No SC2 code or data is touched.
AdministratorTwitter: @R1CH_TL
TL+ Member
Normal
Please log in or register to reply.
Live Events Refresh
Next event in 5h 43m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
elazer 216
TKL 185
UpATreeSC 172
JuggernautJason65
MindelVK 46
ProTech34
StarCraft: Brood War
Britney 21672
Calm 4026
Mini 854
EffOrt 623
Shuttle 303
ggaemo 249
firebathero 156
actioN 107
Mind 71
Mong 53
[ Show more ]
Aegong 36
IntoTheRainbow 12
Bale 9
ivOry 7
Dota 2
Gorgc8450
Counter-Strike
pashabiceps2968
Other Games
Grubby2572
FrodaN1142
B2W.Neo672
ceh9598
Beastyqt340
DeMusliM276
RotterdaM137
KnowMe100
QueenE91
C9.Mang049
Rex17
Organizations
Dota 2
PGL Dota 2 - Main Stream35
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• LUISG 16
• Reevou 4
• IndyKCrew
• sooper7s
• Migwel
• AfreecaTV YouTube
• intothetv
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• FirePhoenix7
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV851
• lizZardDota271
League of Legends
• Nemesis3219
• TFBlade617
Other Games
• imaqtpie763
• Shiphtur252
Upcoming Events
Replay Cast
5h 43m
KCM Race Survival
14h 43m
The PondCast
15h 43m
WardiTV Team League
17h 43m
OSC
17h 43m
Replay Cast
1d 5h
WardiTV Team League
1d 17h
RSL Revival
2 days
Cure vs Zoun
herO vs Rogue
WardiTV Team League
2 days
Platinum Heroes Events
2 days
[ Show More ]
BSL
3 days
RSL Revival
3 days
ByuN vs Maru
MaxPax vs TriGGeR
WardiTV Team League
3 days
BSL
4 days
Replay Cast
4 days
Replay Cast
4 days
Afreeca Starleague
4 days
Light vs Calm
Royal vs Mind
Wardi Open
4 days
Monday Night Weeklies
4 days
OSC
5 days
Sparkling Tuna Cup
5 days
Afreeca Starleague
5 days
Rush vs PianO
Flash vs Speed
Replay Cast
6 days
Afreeca Starleague
6 days
BeSt vs Leta
Queen vs Jaedong
Liquipedia Results

Completed

Proleague 2026-03-24
WardiTV Winter 2026
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
BSL Season 22
CSL Elite League 2026
CSL Season 20: Qualifier 1
ASL Season 21
Acropolis #4 - TS6
RSL Revival: Season 4
Nations Cup 2026
NationLESS Cup
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

2026 Changsha Offline CUP
CSL Season 20: Qualifier 2
CSL 2026 SPRING (S20)
Acropolis #4
IPSL Spring 2026
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
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.