
(윈폼 형태로 작성한 소켓 통신 서버 프로그램)
(윈폼 형태의 서버 프로그램 포스트 = 이동하기)
스레드도 들어가고 하니 소켓 통신만을 위한 소스만 필요한 분도 계실꺼 같아 소켓 통신 관련된 간단한 서버 프로그램도 하나 더 만들었습니다. ^^

이렇게 프로그램은 콘솔로만 실행되고 서버의 아이피와 포트 번호만 받아 바로 서버가 실행되도록 구성했습니다.
간단버전 서버 프로그램 다운로드 링크 = 다운로드
간단버전 서버 프로그램 소스코드 링크 = 다운로드
(다운로드 링크는 제가 작성한 프로그램을 바이러스 검사 후 구글 드라이브에 올린 링크입니다. 광고 없습니다~)

콘솔 앱 형태의 프로젝트를 생성한 뒤

요렇게 소스 코드를 작성하였습니다.

소켓 통신을 위한 기본 참조와

서버 정보가 될 IP와 포트 번호를 사용자에게 입력 받는 부분

TCP 리스너와 클라이언트를 활용한 서버 구성 부분
이 세가지로 나누어 지네요. ^^
읽어 주셔서 감사합니다!
감사합니다.
답글삭제