SlideShare a Scribd company logo
1 of 6
클라이언트-서버간 통신하기
넷텐션
클라-서버 연결하기
1.
static CNetServer.Create
CNetServer.Start

2.
static CNetClient.Create
CNetClient.Connect

네트워크 연결
성공
클라이언트
4. OnJoinServerComplete 이벤트
(인자를 통해 성사여부 확인)

서버

3. OnClientJoin 이벤트
클라-서버 연결 해제

1. CNetClient.Disconnect
연결 끊을래~

클라이언트
3. OnLeaveServer 이벤트
즐됐삼ㅜㅜ

서버
2. OnClientLeave 이벤트
님아 즐
알아야 할 용어들
• 서버 주소 (xxx.xxx.xxx.xxx:yyyy)
• 프로토콜 버전
HostID
•
•
•
•

각 클라의 고유값
서버=HostID_Server
없음=HostID_None
3,4,5,6,7,…

6

5

4

3
• 사용자 이름, 마을 이름 입력
• 새 마을 만들기/기존 마을 들어가기

More Related Content

Viewers also liked

Social game programming footage 5 realtime peer to-peer communication between...
Social game programming footage 5 realtime peer to-peer communication between...Social game programming footage 5 realtime peer to-peer communication between...
Social game programming footage 5 realtime peer to-peer communication between...Nettention
 
Social game programming footage 6 setting up db cache system
Social game programming footage 6 setting up db cache systemSocial game programming footage 6 setting up db cache system
Social game programming footage 6 setting up db cache systemNettention
 
Social game programming footage 4 realtime collaborated farming at server (pl...
Social game programming footage 4 realtime collaborated farming at server (pl...Social game programming footage 4 realtime collaborated farming at server (pl...
Social game programming footage 4 realtime collaborated farming at server (pl...Nettention
 
Social game programming footage 3 farming at client
Social game programming footage 3 farming at clientSocial game programming footage 3 farming at client
Social game programming footage 3 farming at clientNettention
 
Social game programming footage 0 introduction
Social game programming footage 0 introductionSocial game programming footage 0 introduction
Social game programming footage 0 introductionNettention
 
Game Server Middleware 'ProudNet'
Game Server Middleware 'ProudNet'Game Server Middleware 'ProudNet'
Game Server Middleware 'ProudNet'Nettention
 
Social game programming footage 2 rmi messages
Social game programming footage 2 rmi messagesSocial game programming footage 2 rmi messages
Social game programming footage 2 rmi messagesNettention
 
Social game programming footage 7 loading and storing via db cache system
Social game programming footage 7 loading and storing via db cache systemSocial game programming footage 7 loading and storing via db cache system
Social game programming footage 7 loading and storing via db cache systemNettention
 
웹서버와 프라우드넷 서버간 상호작용 가이드
웹서버와 프라우드넷 서버간 상호작용 가이드웹서버와 프라우드넷 서버간 상호작용 가이드
웹서버와 프라우드넷 서버간 상호작용 가이드Hyunjik Bae
 
Unity에서 회전하는 cube 만드는 법
Unity에서 회전하는 cube 만드는 법Unity에서 회전하는 cube 만드는 법
Unity에서 회전하는 cube 만드는 법Hyunjik Bae
 
라이브 서비스를 위한 게임 서버 구성
라이브 서비스를 위한 게임 서버 구성라이브 서비스를 위한 게임 서버 구성
라이브 서비스를 위한 게임 서버 구성Hyunjik Bae
 
웹서버와 ProudNet 서버간 상호작용 가이드
웹서버와 ProudNet 서버간 상호작용 가이드웹서버와 ProudNet 서버간 상호작용 가이드
웹서버와 ProudNet 서버간 상호작용 가이드Hyunjik Bae
 
Digestive system presen.08
Digestive system  presen.08Digestive system  presen.08
Digestive system presen.08biabellini
 
496411316
496411316   496411316
496411316 Angela
 
Graviton wish list post
Graviton wish list postGraviton wish list post
Graviton wish list postpotassium2012
 

Viewers also liked (20)

Social game programming footage 5 realtime peer to-peer communication between...
Social game programming footage 5 realtime peer to-peer communication between...Social game programming footage 5 realtime peer to-peer communication between...
Social game programming footage 5 realtime peer to-peer communication between...
 
Social game programming footage 6 setting up db cache system
Social game programming footage 6 setting up db cache systemSocial game programming footage 6 setting up db cache system
Social game programming footage 6 setting up db cache system
 
Social game programming footage 4 realtime collaborated farming at server (pl...
Social game programming footage 4 realtime collaborated farming at server (pl...Social game programming footage 4 realtime collaborated farming at server (pl...
Social game programming footage 4 realtime collaborated farming at server (pl...
 
Social game programming footage 3 farming at client
Social game programming footage 3 farming at clientSocial game programming footage 3 farming at client
Social game programming footage 3 farming at client
 
Social game programming footage 0 introduction
Social game programming footage 0 introductionSocial game programming footage 0 introduction
Social game programming footage 0 introduction
 
Game Server Middleware 'ProudNet'
Game Server Middleware 'ProudNet'Game Server Middleware 'ProudNet'
Game Server Middleware 'ProudNet'
 
Social game programming footage 2 rmi messages
Social game programming footage 2 rmi messagesSocial game programming footage 2 rmi messages
Social game programming footage 2 rmi messages
 
Social game programming footage 7 loading and storing via db cache system
Social game programming footage 7 loading and storing via db cache systemSocial game programming footage 7 loading and storing via db cache system
Social game programming footage 7 loading and storing via db cache system
 
ProudNet IoT 제품소개서
ProudNet IoT 제품소개서ProudNet IoT 제품소개서
ProudNet IoT 제품소개서
 
웹서버와 프라우드넷 서버간 상호작용 가이드
웹서버와 프라우드넷 서버간 상호작용 가이드웹서버와 프라우드넷 서버간 상호작용 가이드
웹서버와 프라우드넷 서버간 상호작용 가이드
 
Unity에서 회전하는 cube 만드는 법
Unity에서 회전하는 cube 만드는 법Unity에서 회전하는 cube 만드는 법
Unity에서 회전하는 cube 만드는 법
 
라이브 서비스를 위한 게임 서버 구성
라이브 서비스를 위한 게임 서버 구성라이브 서비스를 위한 게임 서버 구성
라이브 서비스를 위한 게임 서버 구성
 
웹서버와 ProudNet 서버간 상호작용 가이드
웹서버와 ProudNet 서버간 상호작용 가이드웹서버와 ProudNet 서버간 상호작용 가이드
웹서버와 ProudNet 서버간 상호작용 가이드
 
Lord God of Israel
Lord God of IsraelLord God of Israel
Lord God of Israel
 
Digestive system presen.08
Digestive system  presen.08Digestive system  presen.08
Digestive system presen.08
 
How to Sell Without Being a Salesperson
How to Sell Without Being a SalespersonHow to Sell Without Being a Salesperson
How to Sell Without Being a Salesperson
 
The power of words to create
The power of words to createThe power of words to create
The power of words to create
 
Evaluación v1
Evaluación v1Evaluación v1
Evaluación v1
 
496411316
496411316   496411316
496411316
 
Graviton wish list post
Graviton wish list postGraviton wish list post
Graviton wish list post
 

Social game programming footage 1 client to server connection