728x90 반응형 프로그래밍/MFC27 UDP 소켓 통신 헤더파일 // SocketTestClientDlg.h : header file // #pragma once // CSocketTestClientDlg dialog class CSocketTestClientDlg : public CDialog { // Construction public: CSocketTestClientDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data enum { IDD = IDD_SOCKETTESTCLIENT_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support // Implementation protected: HI.. 2020. 11. 12. 소켓 통신 Server 부분 서버의 Client Socket /////////////////////////////////////////////////////////////////////////////////////////////////////// //헤더 파일 #pragma once // CClientSocket 명령 대상입니다. class CClientSocket : public CSocket { private: CString m_strIPAddress; UINT m_uPortNUmber; public: CClientSocket(); virtual ~CClientSocket(); CAsyncSocket* m_pListenSocket; void SetListenSocket(CAsyncSocket* pSocket); virtual v.. 2020. 11. 4. 소켓 통신 Client 부분 Client 컨트롤 /////////////////////////////////////////////////////////////////////////////////////////////////////// //헤더 파일 #pragma once #include "ConnectSocket.h" // CClientCtrl class CClientCtrl : public CWnd { DECLARE_DYNAMIC(CClientCtrl) private: CConnectSocket m_ConnectSocket; public: CClientCtrl(); virtual ~CClientCtrl(); void SetSend(CString msg); BOOL Connect(LPCTSTR ipAddr, UINT port); v.. 2020. 11. 4. MFC DLL 배포 방법 참고링크 [Bottom] [Top] Visual C++ 배포 - http://msdn2.microsoft.com/ko-kr/library/zebw5zk9(VS.80).aspx XCopy를 사용하여 배포 - http://msdn2.microsoft.com/ko-kr/library/ms235291(VS.80).aspx Redistributing Visual C++ RunTime Library - http://www.serious-code.net/moin.cgi/RedistributingVisualCppRunTimeLibrary RunTime Library 배포 [Bottom] [Top] Release 버젼 배포 - %PROGDIR%\Microsoft Visual Studio 8\SDK\v2.0\Bootstr.. 2020. 11. 2. 이전 1 2 3 4 5 6 7 다음 728x90