달력

2

« 2025/2 »

  • 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

'분류 전체보기'에 해당되는 글 168

  1. 2015.10.17 6. Proofs
  2. 2015.10.17 5. Proposition
  3. 2015.10.17 4. function
  4. 2015.10.17 3. Relation
  5. 2015.10.16 2. Sequence
  6. 2015.10.13 TCP/IP 기반의 인터넷
  7. 2015.09.19 윈도우에서 리눅스처럼 컴파일하기 1
  8. 2015.09.16 윈도우 기반 서버, 클라이언트 Hello World!
  9. 2015.09.16 IP 유틸리티들
  10. 2015.09.11 Visual Studio 설치시 설정 및 Hello world!
2015. 10. 17. 06:16

6. Proofs 전자공학이론/이산수학2015. 10. 17. 06:16

    은 axiom이다


Direct proof

hypothesis를 true라 두고, conclusion을 유도.


-Mathematical Induction

N을 양의 자연수의 집합이라 하고, S(n)을 propositional function이라 하자.

(∀n)S(n)         D: N

를 증명하기 위해서는 이 proposition을 

∀n[ S(n) -> S(N+1) ]

로 바꾸어서 Direct proof를 보이면 된다.


Proof by contradiction

conclusion을 false라 두고, hypothesis와의 contradiction을 보임.





'전자공학이론 > 이산수학' 카테고리의 다른 글

Euler cycle & Hamiltonian cycle  (0) 2015.12.09
Graph  (0) 2015.12.09
5. Proposition  (0) 2015.10.17
4. function  (0) 2015.10.17
3. Relation  (0) 2015.10.17
:
Posted by youjin.A
2015. 10. 17. 05:55

5. Proposition 전자공학이론/이산수학2015. 10. 17. 05:55

    는 Definition을 나타내고,      는  Theorem을 나타낸다.


proposition

A sentence that can be determined to be either true or false.


hypothesis and conclusion

Hypothesis is the given proposition.

Conclusion is the proposition that follows from the hypothesis.

 

connectives

forming new compound proposition.

~p (NOT)

p ^ q (AND) 

p v q (OR) 

p -> q 

T

 F

 T

 T

 T

T

F

 F

 F

 T

 F

F

T

 T

 F

 T

 T

F

F

 T

 F

 F

 T

-conditional propositions: p->q

"If P, then q. " or "p only if q."

p: hypothesis , q: conclusion

-Biconditional proposition: p<->q

it equal (p->q) ^ (q->p)

"p if and only if q" of "p iff q"

- the order of evaluation is first ~, then ^, then v, last ->.


Logical equivalence

Two truth tables are identical, denoted P ≡ Q.

 p -> q  ~p v q

② contrapositive 

p -> q ~q -> ~p

 De Morgan's lows

~(p ^ q) ≡ ~p v ~q

~(p v q) ≡ ~p ^ ~q

 a v ( b ^ c) ≡ (a v b) ^ (a v c) 

    a ^ ( b v c) ≡ (a ^ b) v (a ^ c) 

- p -> q ≡ ~p v q

p 

 q

 p -> q

  ~p v q

 T

 T

 T

 T

 T

 F

 F

 F

 F

 T

 T

 T

 F

 F

 T

 T

-contrapositive

 q

 p -> q

  ~p ->~q

 T

 T

 T

 T

 T

 F

 F

 F

 F

 T

 T

 T

 F

 F

 T

 T

-converse

 q

 p -> q

  q -> p

 T

 T

 T

 T

 T

 F

 F

 T

 F

 T

 T

 F

 F

 F

 T

 T



Rules of inference

if all hypotheses is true, then the conclusion is true.

simplification

p^q


------

∴p

conjunction

p

q

-------

∴p^q

disjunction syllogism

p∨q

~p

-------

∴q

addition

p


------

∴p∨q

 modus ponens

p->q

p

------

∴q

modus tollens

p->q

~q

------

∴~p 

 hypothetical syllosism

p->q

q->r

-------

∴p->r

 


Propositional function

Let P(x) be a statement(not a proposition) involving the variable x and let D be a set. We call P a propositional function if for each x∈D, P(x) is a proposition.

P: n은 홀수이다. 여기서 P가 True이나 False이냐는 변수 n에 의해 결정되기 때문에 proposition이 아니다. n = 103이면 P는 true이고 n=8이면 P는 false이다.


quantifier

The symbol ∀ means "for all".

Let P be a propositional function with domain of discourse D. The statement

for all x, P(x)

may be written 

(∀x)P(x).

it is true if for all x in D, P(x) is true.


-∃

The symbol ∃ means "there exists".

there exist x, P(x)

may be written 

(∃x)P(x).

it is true if for at least one x in D, P(x) is true.

quantifier가 있는 변수가 두 개인 propositional function은 주어가 중요하다. 예를 들어 y, x∈people일 때,  ∀x∃y(x loves y)은 people내에 있는 모든 x에 대하여, 참이면 참이다. 그리고 ∃x∀y(x loves y)는 people내에 있는 적어도 하나의 x에 대하여, 주어진 명제가 참이면 참이다.  

 

Generalized De Morgan's laws for Logic

~(∀x P(x))  (∃x)~P(x)

~(∃x P(x)) ≡ (∀x)~P(x)

1) ∀x P(x) is false.

if for at least one x in D, P(x) is false.

2) ∀x∃y P(x) is false.

~(∀x∃y P(x)) ≡ (∃x)~(y P(x)) ≡ (∃x)(∀y)(~P(x)) 

if for at least one x in D and for all y in D, P(x) is false.




문제













'전자공학이론 > 이산수학' 카테고리의 다른 글

Graph  (0) 2015.12.09
6. Proofs  (0) 2015.10.17
4. function  (0) 2015.10.17
3. Relation  (0) 2015.10.17
2. Sequence  (0) 2015.10.16
:
Posted by youjin.A
2015. 10. 17. 05:54

4. function 전자공학이론/이산수학2015. 10. 17. 05:54

function

A function f from a set X to a set Y(f : X->Y) is a subset of XxY such that for all x∈X, there is exactly one y∈Y with (x, y)∈f.


floor and ceiling

The floor of x, denoted └x┘, is the greatest integer less than or equal to x.

The ceiling of x, denoted ┌x┐, is the least integer greater than or equal to x.


Properties of a function f 

one-to-one                          for all x1, x2∈X, if(x1) = f(x2), then x1 = x2.

onto                                   for all y∈Y, there exists x∈X such that y=f(x).

- bijection                              one-to-one, onto

- Binary operator on a set X       a function from X x X to X

- unary operator on X               a function from X to X


inverse of f

Let f be a bijection function from X to Y.

the inverse of f, denoted f^-1, is the funtion from Y to X defined by

f^-1 = { (y, x)| (x, y) ∈ f}


composition

Let g be a function from X to Y and f be a funtion from Y to Z.

the composition of f with g, denoted f ∘ g, is the funtion from X to Z defined by

f ∘g(x) = f( g(x) )




'전자공학이론 > 이산수학' 카테고리의 다른 글

6. Proofs  (0) 2015.10.17
5. Proposition  (0) 2015.10.17
3. Relation  (0) 2015.10.17
2. Sequence  (0) 2015.10.16
1. Set  (0) 2015.09.08
:
Posted by youjin.A
2015. 10. 17. 03:03

3. Relation 전자공학이론/이산수학2015. 10. 17. 03:03

relation

A (binary) relation R from a set X to a set Y is a subset of XxY.

If (x, y)∈R, we write xRy and say that x is relation to y.

If X=Y, we call R a (binary) relation on X.

domain of R is Dom(R) = { x∈X| (x, y)∈R for some y∈Y}.

range of R is Rng(R) = { y∈Y|(x,y)∈R for some x∈X}


digraph of a relation R on a set X

① draw dots to represent the elements of X.

② If the element (x,y) is in R, draw an arrow from x to y.


Properties of a relation R on a set X

reflexive             xRx for all x∈X.

- symmetric           if xRy, then yRx.

anti-symmetric    if xRy and yRx, then x=y.

transitive            if xRy  and yRz, then xRz.

- If R is reflexive, anti-symmetric, transitive, then R is a partial order. and If (x, y) or (y, x)∈R for      every pair of elements in X, then R is total order.


inverse of R

Let R be a relation from X to Y.

the inverse of R, denoted R^-1, is the relation from Y to X defined by

R^-1 = { (y, x)| (x, y)∈R}


composition

Let R1 be a relation from X to Y and R2 be a relation from Y to Z.

the composition of R1 and R2, denote R2∘R1, is the relation from X to Z defined by

R2∘R1 = { (x, z)| (x, y)∈R1 and (y, z)∈R2 for some y∈Y}.


equivalence relation

R is an equivalence relation if R is reflexive, symmetric and transitive.


equivalence relations and partitions

Let S be a partition of a set X. if for some set T in S, x, y are in T, Define xRy on X. Then R is an equivalence relation on X. 



Let R be an equivalence relation on a set X. For each a∈X, let

[a] = { x∈X | xRa }

then 

S = { [a] | a∈X}

is a partition of X.

the sets [a] are called the equivalence classes of X given by the relation R.



The matrix of relation

Let X,Y be sets and R a relation from X to Y.

Write the matrix A of the relation R as follows:

- Rows of A = elements of X

- Columns of A = elements of Y

- Element a(ij) = if the element of X in low i and the element of Y in column j are related, it is 1 else 0.

Example:

Let X = {1,2,3}, Y={a,b,c,d}

Let R = {(1.a), (1,d), (2,a), (2,b), (2,c)}

The matrix A of the relation R is


The product of matrices

Let R1 be the relation from X to Y and let R2 be the relation from Y to Z.

Let A1 be the matrix of R1 and let A2 be the matrix of R2.

The product of these matrices is A1A2.

if the (i,k)th entry in A1A2 is nonzero, then (Xi, Zk)∈R2∘R1.

since the (1,1)th entry in A1A2 is nonzero, (X1,Z1)∈R2∘R1.


The matrix of a relation on a set X

Let A be the square matrix of a relation R from X to itself.

Let A^2 is the matrix product AA.

- R is reflexive if and only if all terms a(ii) in the main diagonal of A are 1.

- R is symmetric if and only if a(ij) = a(ji) for all i and j.

- R is transitive if A^2=A(whenever c(ij) in C = A^2 in nonzero then entry a(ij) is A is also nonzero.).




'전자공학이론 > 이산수학' 카테고리의 다른 글

6. Proofs  (0) 2015.10.17
5. Proposition  (0) 2015.10.17
4. function  (0) 2015.10.17
2. Sequence  (0) 2015.10.16
1. Set  (0) 2015.09.08
:
Posted by youjin.A
2015. 10. 16. 15:30

2. Sequence 전자공학이론/이산수학2015. 10. 16. 15:30

    는 Definition을 나타내고,      는  Theorem을 나타낸다.


ordered pair

we call (x, y) on ordered pair.

(x1, x2)=(y1, y2) if and only if x1=y1, and x2=y2.


cartesian product

X x Y = { (x, y) | x∈X and y∈Y} 


sequence

A sequence is an ordered list.

S or {Sn} is a sequence named S, the entire sequence.

Sn is single element of the sequence S at index n.


sub-sequence

A sub-sequence {Snk} is a sequence that consist of certain element of {Sn} retained in the original order in S.


string

A string over a set X is a finite sequence of elements from X.


'전자공학이론 > 이산수학' 카테고리의 다른 글

6. Proofs  (0) 2015.10.17
5. Proposition  (0) 2015.10.17
4. function  (0) 2015.10.17
3. Relation  (0) 2015.10.17
1. Set  (0) 2015.09.08
:
Posted by youjin.A
2015. 10. 13. 00:15

TCP/IP 기반의 인터넷 카테고리 없음2015. 10. 13. 00:15

통신의 역사

봉화    >    편지    >    전신    >    전화    >    Interent


Internet

인터넷을 ‘TCP/IP라는 표준화한 통신 규약을 기반으로 전 세계를 연결하는 네트워크들의 네트워크’라고 정의한다.


TCP/IP

 1980년 초 미국 국방부에서 구축한 전산망인 알파넷(ARPAT)에서 개발된 프로토콜으로서, 1983년 1월 알파넷에서 NCP 대신에 이 표준을 사용하였다. 그 후에 알파넷에서 Milnet를 독립시키고, 이 두 네트워크 사이의 통신으로 인터넷을 이용할 무렵 미국 방위통신청(DCA;Defense Communication Agency)이 모든 알파넷을 이용하는 호스트 컴퓨터를 TCP-IP로 사용하도록 하였다. 

통신을 위한 기술을 계층 별로 나누어 네트워크 접근방법, 프레임 포맷, 매체에 대해 독립적으로 동작하도록 설계되어 졌다. 그래서 서로 다른 네트워크 형태를 연결 할 수 있다.


OSI

OSI(Open System Interconnection)는 1984년, ISO(International Organization for Standardization 국제 표준화 기구)에서 각종 시스템 간의 발표한 표준 네트워크 모델이다. OSI는 시스템에 상관없이 서로의 시스템이 연결 될 수 있도록 만들어 주는 모델이다.

:
Posted by youjin.A

윈도우에서도 리눅스처럼 visual studio나 이클립스같은 GUI가 없이 도스창에서 프로그램을 짜고 컴파일을 할 수 있다.

다만 리눅스에서는 초기에 컴파일 프로그램인 gcc가 깔려있지만

윈도우는 없기때문에 gcc를 직접 설치해 주어야 한다.

우선, 윈도우 도스창에서 컴파일 하기 위해 깔아야 하는 프로그램을 알아보자


<설치>

 1) MinGW

컴파일러로써 cmd창에 gcc명령이 먹히도록 한다.

MinGW는 http://www.mingw.org/ 에서 다운..

설치하고 난 후 환경변수설정을 해야 하는 데, 

환경 변수 설정은 시스템 변수가 아닌 사용자의 변수의 PATH에 C:\MinGW\bin을 넣어줘야 한다.

 

2) VIM

VIM은 메모장처럼 코드를 써 넣을 수 있는 에디터 프로그램이다.  (리눅스에서의 어디터 프로그램은 nano이다.)

vim은 여기서 다운 ...  http://www.vim.org/download.php

VIM을 설치하고 환경변수 를 설정해주면 cmd창 어디에서나 "VIM" 이라고 치면 이것을 실행할 수 있다.

cmd창에 vim "파일 이름"을 치면 입력한 파일 이름을 가진 파일이 현재 디렉토리에 만들어 진다.


3) make

c코드가 실행되는 .exe 파일로 컴파일되는 과정은 Prepocessin, Compilation, Assemble, Linking 네 단계를 거친다.

Preprocessing은 #include 한 헤더파일이나 #define 한 것은 붙이는 과정이다.

cpp main.c > main.i //Pre-procession only

Compilation은 c코드를 Assembly code로 바꾸는 과정이다. 

gcc -S hello.i //Compilation only

Assemble은 Assembly code를 기계어로 바꾸는 과정이다.

as -o main.o main.s // Assembling only

마지막으로 Linking은 기계어로 된 여러 파일로 만들어진 코드들을 하나로 합쳐 실행파일로 만드는 과정이다.

ld -o main.exe main.o ... additional library ... //Linking only


여기서 Linking과정을 제외한 preprocession, compiling, assembling과정을 한번에 해서 

c코드를 한번에 기계어고 바꾸는 과정을 빌드라고 한다.

gcc -c main.c //Object code main.o 출력

그 다음 실행코드를 만드는 것은 다음과 같이 하면 된다.

gcc -o main.exe main.o hello.c //Executable code 출력


어쨌든.... 컴파일 하려면 cmd창에 여러줄을 쳐야하는데 한 과정을 잘 못 하면 계속 다시 적어야 하기때문에 컴파일 과정을 한번에 해주는 유틸리티가 있는데 이것이 make이다.

make 프로그램은 http://gnuwin32.sourceforge.net/packages/make.htm 에서 다운가능하다.

다운한 다음에 C:\Program Files\GnuWin32\bin 로 path에 환경변수 설정을 한다.


<Let's do it>

이제 간단한 "hello world!"가 찍히는 프로그램을 실행하면서 어떻게 쓰는 것인지 알아보자.


1) vim

환경변수 path 설정을 했기 때문에 어떤 디렉토리에서는 vim을 실행시킬 수 있다.

cmd창이 있는 디렉토리에서 vim [파일이름]을 적으면 해당 이름을 가진 파일이 열린다.



vim에 들어갔으면 키보드의 i를 누르면 편집모드로 글을 적을 수 있다.


위와 같이 글을 다 적은 후에는 ESC를 누르면 명령어 모드로 바뀐다.

주요 명령어는 다음과 같다.

:w //저장

:w file.txt // file.txt 파일로 저장

:q //vim 종료

:wq //저장 후 종료



다음과 같이 코드를 적고 esc를 누른다음 :wq를 누르면 코드가 저장되고 해당 디텍토리에 파일이 만들어 진다.



마찬가지로 다음과 같이 hello.c와 hello.h를 만든다.



2) Makefile

c코드가 있는 같은 디렉토리에 Makefile을 만들어야 한다.



make의 기본규칙은 크게 Target, Depend, Command로 구성되어 있다.


<Targer>: <Depend>

<TAP 문자><Command>


Target은 생성하고자 하는 목적물을 지칭하고 

Depend는 Target을 만들기 위해서 필요한 요소를 기술하게 되고

Command는 일반 Shell 명령이 온다. 

여기서 주의할 것은 Comman 앞에 반드시 TAB문자가 와야 한다는 것이다.

Command 명령은 Depend와 Target의 파일생성시간(또는 변경된 시간)을 비교하여 Depand의 파일의 시간이 보다 최근일 경우에만 실행된다. 



다음과 같이 Makefile을 만들고 저장한다.

그리고 cmd 창에 "make run"이라고 치면 자동으로 컴파일되고 프로그램이 실행된다.

이러한 Makefile은 리눅스에서도 똑같이 쓸 수 있다.







참고

VIM 활경변수 설정

http://harveytoday.tistory.com/84

VIM 사용법

https://opentutorials.org/course/730/4561

http://www.morenice.kr/25

Makefile 만들기

http://www.joinc.co.kr/modules/moniwiki/wiki.php/Site/C/Documents/minzkn_make

'프로그래밍 > 자료구조설계' 카테고리의 다른 글

인터넷 check sum 함수의 구현  (0) 2016.02.08
다운  (0) 2016.02.07
void*  (0) 2015.10.23
열거형 enum  (1) 2015.10.23
:
Posted by youjin.A

윈도우 운영 체제를 기반으로 간단한 TCP/IP 소켓통신을 구현해 보았다.


 ws2_32.lib 라이브러리를 링크

윈도우 기반의 소켓을 '윈속'이라고 하는데 이를 개발 하기위해서는 헤더파일 <winsock2.h>를 포함시켜야 한다.

이것을 포함시키기 위해서는 ws2_32.lib 라이브러리를 링크시켜야 한다.

현재 Visual studio 2013을 사용하고 있는데 2008으로도 가능하다는 것으로 봐서 다른 버전에서도 그대로 적용 가능한 것 같다.

ws2_32.lib 라이브러리를 링크시키기 위해서는 Project>properties>Linker>Input>Additional Dependencies에 ws2_32.lib를 적고 적용시킨다.


다음으로 server와 client 프로젝트를 각각 열고 코드를 입력한다.



server 코드

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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <WinSock2.h>
 
void ErrorHandling(char* message)
{
    fputs(message, stderr);
    fputc('\n', stderr);
    exit(1);
}
 
int main(int argc, char ** argv)
{
    WSADATA wsaData;
    SOCKET hServSock;
    SOCKET hClntSock;
    SOCKADDR_IN servAddr;
    SOCKADDR_IN clntAddr;
    int szClntAddr;
    char message[] = "Hello World! \n";
 
    if (argc != 2){
        printf("Usage : %s <port>\n", argv[0]);
        exit(1);
    }
 
    if (WSAStartup(MAKEWORD(22), &wsaData) != 0){
        ErrorHandling("WSAStartup() error!");
    }
 
    hServSock = socket(PF_INET, SOCK_STREAM, 0);
    if (hServSock == INVALID_SOCKET){
        ErrorHandling("socket() error");
    }
 
    memset(&servAddr, 0sizeof(servAddr));
    servAddr.sin_family = AF_INET;
    servAddr.sin_addr.s_addr = htonl(INADDR_ANY);
    servAddr.sin_port = htons(atoi(argv[1]));
 
    if (bind(hServSock, (SOCKADDR*)&servAddr,
        sizeof(servAddr)) == SOCKET_ERROR){
        ErrorHandling("bind() error");
    }
 
    if (listen(hServSock, 5== SOCKET_ERROR){
        ErrorHandling("listen() error");
    }
 
    szClntAddr = sizeof(clntAddr);
    hClntSock = accept(hServSock, (SOCKADDR*)&clntAddr,
        &szClntAddr);
    if (hClntSock == INVALID_SOCKET){
        ErrorHandling("accept() error");
    }
    send(hClntSock, message, sizeof(message), 0);
 
    closesocket(hClntSock);
    closesocket(hServSock);
    WSACleanup();
    return 0;
 
 
}
cs



client 코드

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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <WinSock2.h>
 
void ErrorHandling(char* message);
 
int main(int argc, char ** argv)
{
    WSADATA wsaData;
    SOCKET hSocket;
    char message[30];
    int strLen;
    SOCKADDR_IN servAddr;
 
    if (argc != 3){
        printf("Usage: %s <IP> <port>\n", argv[0]);
        exit(1);
    }
 
    if (WSAStartup(MAKEWORD(22), &wsaData) != 0)
        ErrorHandling("WSAStartup() error!");
 
    hSocket = socket(PF_INET, SOCK_STREAM, 0);
    if (hSocket == INVALID_SOCKET)
        ErrorHandling("hSocketet() error");
 
    memset(&servAddr, 0sizeof(servAddr));
    servAddr.sin_family = AF_INET;
    servAddr.sin_addr.s_addr = inet_addr(argv[1]);
    servAddr.sin_port = htons(atoi(argv[2]));
 
    if (connect(hSocket, (SOCKADDR*)&servAddr,
        sizeof(servAddr)) == SOCKET_ERROR)
        ErrorHandling("connet() error!");
 
    strLen = recv(hSocket, message, sizeof(message) - 10);
    if (strLen == -1)
        ErrorHandling("read() error!");
    message[strLen] = 0;
    printf("Message from server : %s \n", message);
 
    closesocket(hSocket);
    WSACleanup();
    return 0;
}
 
void ErrorHandling(char* message)
{
    fputs(message, stderr);
    fputc('\n', stderr);
    exit(1);
}
cs




server 실행하기


project에 마우스 오른쪽> Properties>Debugging>Command Argument 에 포트번호를 적는다. 9190



그 다음 server프로젝트를 빌드하고 디버깅하면 다음과 같이 뜬다.




client 실행하기

client도 마찬가지로 project에 마우스 오른쪽> Properties>Debugging>Command Argument 에 들어간다.

Command Argument 에 다가 server의 ip주소, 포르번호를 적는다.

지금은 server와 client 둘 다 내컴퓨터이니까 Command Argument에 127.0.0.1 9190 이라고 적는다.

그리고 client 프로젝트를 빌드하고 디버깅하면 server 프로세스에서 보낸 Hello world! 라는 메세지가 뜬다.


:
Posted by youjin.A
2015. 9. 16. 12:41

IP 유틸리티들 전자공학이론/데이터 통신2015. 9. 16. 12:41

wire shark

Term Project #1 2013104430 안유진.hwp


nslookup 

해당 호스트의 IP 주소를 찾는다.

nslookup <host name>


ipconfig

호스트의 TCP/IP 정보를 보여준다.

해당 컴퓨터의 IP주소를 확인 할 수 있고 ipconfig /all을 입력하면 MAC 어드레스까지 확인이 가능하다.

리눅스: ifconfig


ping

입력한 호스트가 인터넷에 연결되어 있는지 확인할 수 있다.

ping <host name>


tracert

network layer의 packet이 다른 호스트에 도착하는 데 지나가는 경로를 확인할 수 있다.

tracert <host name>


netstat

로컬 호스트의 네트워크 상태에 대한 정보를 볼 수 있다.

:
Posted by youjin.A

visual studio 설치 설정


Hello world


:
Posted by youjin.A