Language(8)
-
[c] linux TCP/IP socket code(*.c, TCPIP 소켓 코드)
[c언어] 리눅스 tcp/ip client socket(클라이언트 소켓), tcp/ip server socket(서버 소켓) 메시지(message) 송신, 수신(send/recv) 예제 -tcp/ip 예제 플로우 & 로직 설명.(client socket, server socket은 한개의 노드에서 실행됨.) -사전에 수행되어야 하는 작업. gcc 컴파일러 설치되어있어야 함. -예제 실행하는 서버 gcc 버전. $ gcc --version gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions...
2021.12.20 -
[c] window TCP/IP socket code(*.c, TCPIP 소켓 코드)
[c언어] 윈도우 tcp/ip client socket(클라이언트 소켓), tcp/ip server socket(서버 소켓) 메시지(message) 송신, 수신(send/recv) 코드 예제 -tcp/ip 예제 플로우 & 로직 설명.(client socket & server socket은 한개의 노드에서 실행됨.) -사전에 수행되어야 하는 작업. gcc 컴파일러 설치되어있어야 함. 글쓴이는 MinGW 툴로 컴파일 수행함. -window tcp/ip server socket 코드(tcpip_server_socket.c) #include #include #include #include #include #include #define BUFFSIZE 1024 #define PORT 40966 #define MS..
2021.12.17