안녕하세요 j.sieun 입니다. 이번글에는 C++ 서버에서 C#클라이언트의 데이터 송,수신에 대해 적어보겠습니다. 조건 : 제가 사용하고있는 서버는 클라에서 byte로 형변환 한후에 보내는 형식입니다. 클라이언트에서 마샬링을 통해 struct 인 구조체를 byte로 변환한 후 서버로 send 해보겠습니다.제가 사용한 네임 스페이스는using System;using System.Runtime.InteropServices;using System.Net.Sockets;using System.Net; //구조체 생성 [Serializable] [StructLayout(LayoutKind.Sequential)] struct datapacket { //그렇게 크게 데이터를 전송할 필요가 없어서 short 값으로 ..