• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:42
CEST 20:42
KST 03:42
  • 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
RSL Season 1 - Final Week6[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed19Weekly Cups (July 7-13): Classic continues to roll8Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
Geoff 'iNcontroL' Robinson has passed away Program: SC2 / XSplit / OBS Scene Switcher Who will win EWC 2025? Why doesnt SC2 scene costream tournaments RSL Revival patreon money discussion thread
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
BW General Discussion Pro gamer house photos BGH Auto Balance -> http://bghmmr.eu/ Flash Announces (and Retracts) Hiatus From ASL Soulkey Muta Micro Map?
Tourneys
CSL Xiamen International Invitational [Megathread] Daily Proleagues 2025 ACS Season 2 Qualifier [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
[MMORPG] Tree of Savior (Successor of Ragnarok) Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread CCLP - Command & Conquer League Project
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread US Politics Mega-thread The Games Industry And ATVI Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Manga] One Piece Korean Music Discussion [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 722 users

SC2NetInfo

Blogs > R1CH
Post a Reply
1 2 Next All
R1CH
Profile Blog Joined May 2007
Netherlands10340 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
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
Netherlands10340 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
SonuvBob
Profile Blog Joined October 2006
Aiur21549 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
Netherlands10340 Posts
December 28 2010 10:05 GMT
#11
Because SC2 doesn't accept incoming connections.
AdministratorTwitter: @R1CH_TL
zatic
Profile Blog Joined September 2007
Zurich15325 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
Singapore66158 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
Netherlands10340 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
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
Netherlands10340 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
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
BSL 2v2 ProLeague S3
18:00
Grand Finals
ZZZero.O167
Liquipedia
Online Event
16:00
PSC2L June 2025
CranKy Ducklings364
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
BRAT_OK 165
StarCraft: Brood War
Mini 1350
EffOrt 1254
firebathero 354
zelot 304
BeSt 284
ZZZero.O 141
Hyun 69
Mind 65
Aegong 32
Shine 9
Stormgate
BeoMulf171
League of Legends
Grubby5711
Dendi1178
Counter-Strike
fl0m3003
Stewie2K278
Super Smash Bros
hungrybox1099
Heroes of the Storm
Khaldor570
Liquid`Hasu403
Other Games
FrodaN1429
B2W.Neo934
Skadoodle194
Hui .187
KnowMe136
ToD72
Sick43
Organizations
Other Games
gamesdonequick2027
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 21 non-featured ]
StarCraft 2
• Sammyuel 22
• LUISG 19
• maralekos9
• Kozan
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• HerbMon 21
• 80smullet 7
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 3919
• masondota21312
• WagamamaTV751
• Ler132
Other Games
• imaqtpie1339
• Shiphtur358
Upcoming Events
Esports World Cup
1d 15h
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Esports World Cup
2 days
Esports World Cup
3 days
Esports World Cup
4 days
CranKy Ducklings
5 days
BSL20 Non-Korean Champi…
5 days
BSL20 Non-Korean Champi…
5 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
FEL
6 days
BSL20 Non-Korean Champi…
6 days
BSL20 Non-Korean Champi…
6 days
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Liquipedia Results

Completed

2025 ACS Season 2
RSL Revival: Season 1
Murky Cup #2

Ongoing

BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
CC Div. A S7
Underdog Cup #2
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
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 © 2025 TLnet. All Rights Reserved.