Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
Tags
- server
- unity
- Google Developer API
- Camera Movement
- java
- SDK upgrade
- nodejs
- Unity IAP
- Spring Boot
- Digital Ocean
- mongoDB
- Google Refund
- MySQL
- rpg server
- express
- react
- docker
- springboot
- Packet Network
- Unity Editor
- Git
- --watch
- Camera Zoom
- OverTheWire
- spread 연산자
- css framework
- draganddrop
- linux
- critical rendering path
- screencapture
Archives
- Today
- Total
목록Packet Network (1)
우당탕탕 개발일지
서버에서 c# 프로그램 실행하기(3) : 데이터 송수신
서버와 클라이언트 연결은 성공했다 (Connection) 이제 해야 할 것은 세션을 생성하여 데이터를 주고받는 것, 이 데이터를 타입별로 받아서 처리하는 작업이 필요하다.abstract class 인 Session.cs 에서 데이터를 전송/수신하는 툴을 만든 다음, Session을 상속받은 자식 클래스에서는 딱 ArraySegment 형식의 데이터를 받아볼수 있도록 하였다 ( OnReceivePacket 함수) Session더보기 using System;using System.Net;using System.Net.Sockets;namespace ServerCore{ public abstract class Session { Socket _socket; SocketAsyn..
Server
2023. 9. 5. 22:17