갬장장이
'networking' 카테고리의 글 목록

networking

networking

Game Traffic Analysis: An MMORPG Perspective Kuan-Ta Chen, Polly Huang, Chin-Lau

Game Traffic Analysis: An MMORPG Perspective Kuan-Ta Chen, Polly Huang, and Chin-Laung Lei PDF Version | Contact Us Abstract Online gaming is one of the most profitable businesses on the Internet. Of all the genres of online games, MMORPGs (Massive Multiplayer Online Role Playing Games) have become the most popular among network gamers, and now attract millions of users who play in an evolving v..

networking

군복무 중 서버 개발 학습기록

육군 복무 기간(21.11.8 ~ 23.5.7) 동안 학습한 내용들 중 네트워크 및 게임 서버 개발과 관련된 기록들은 아래 링크에서 확인하실 수 있습니다. https://github.com/hagukin/NetDoc GitHub - hagukin/NetDoc: Personal documents about sockets, multithreading, locks, IOCP, serialization techniques and more Personal documents about sockets, multithreading, locks, IOCP, serialization techniques and more - GitHub - hagukin/NetDoc: Personal documents about socket..

networking

C# Spinlock 구현

방법1. using System; using System.Threading; using System.Threading.Tasks; namespace GameServerCore { class SpinLock { volatile int _locked = 0; public void Acquire() { while (true) { int original = Interlocked.Exchange(ref _locked, 1); if (original == 0) break; } } public void Release() { _locked = 0; } } class Program { static int _num = 0; static SpinLock _lock = new SpinLock(); static void Mai..