以組織性質.png
DNS(Domain Name System)
功能:
FQDN(Fully Qualified Domain Name) ex. "www.google.com.tw"
           ↓       
         DNS
           ↓
IP ex. "74.125.23.94"

LittleChoCho 發表在 痞客邦 留言(0) 人氣()

netstat
因為某些指令會有權限問題,故一開始開啟cmd時請使用管理者模式(ctrl + shift + enter)
 
 
這個影片教學很仔細

LittleChoCho 發表在 痞客邦 留言(0) 人氣()

sudo aptitude install subversion
把printf 印出來
ns XXX.tcl > outprintf_filename

LittleChoCho 發表在 痞客邦 留言(0) 人氣()

NS2 四個主要分類
Application:實現數據 ex. FTP
Agent:實現所有各層的協議層次 ex. TCP
Node:由多個classifier實現所有接收數據進行判斷轉發出去或者丟給Agent

LittleChoCho 發表在 痞客邦 留言(0) 人氣()

Class Hierarchy (Partial)
Class Hierarchy (Partial)
 
Node (Unicast and Multicast)
 

LittleChoCho 發表在 痞客邦 留言(0) 人氣()

這種error 一開始我真的毫無頭緒
因為這是一種標準的 TCL宣告
//Wrapper class for CBSP Home Agent
static class ForTCLCBSPHAAgentclass : public TclClass{//the class be created just for return the agent class.
public:
//Agent/CBSPHA is the needy name when you create the agent in TCL
ForTCLCBSPHAAgentclass():TclClass("Agent/CBSPHA"){}

LittleChoCho 發表在 痞客邦 留言(0) 人氣()

引用: http://neilchen0710.pixnet.net/blog/post/79935717-iwconfig-%E6%93%8D%E4%BD%9C
前言:
    iwconfig是Linux Wireless Extensions(LWE)的用戶層配置工具之一。LWE是Linux下對無線網路配置的工具,包括核心的支援、用戶層配置工具和驅動介面的支援三部分。目前很多無線網卡都支援LWE,而且主流的Linux發布版本,比如Redhat Linux、Ubuntu Linux都已經帶了這個配置工具。

LittleChoCho 發表在 痞客邦 留言(0) 人氣()

引用: http://www.linuxdiyf.com/viewarticle.php?id=118958
這個是執行的命令
這個顏色是要根據情况改變的参数
1.打開terminal,用su切到root,如下:
# su
2.執行gedit /etc/sysconfig/network-scripts/ifcfg-eth0,如下:
# gedit /etc/sysconfig/network-scripts/ifcfg-eth0
參數設置如下:
# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
DEVICE=eth0
HWADDR=00:e0:4d:4d:cc:bd
ONBOOT=yes
BOOTPROTO=static
USERCTL=yes
PEERDNS=yes
IPV6INIT=no
NM_CONTROLLED=yes
TYPE=Ethernet
NETMASK=255.255.255.0
IPADDR=192.168.81.235
DNS1=202.114.0.242
DNS2=202.112.20.131
GATEWAY=202.114.6.25
(存檔關掉)
3.執行gedit /etc/resolv.conf
# gedit /etc/resolv.conf
參數設置如下:
# Generated by NetworkManager(Domain Name---我只輸入一個)
nameserver 202.114.0.242
nameserver 202.112.20.131
(存檔關掉)
4.執行service network restart,,如:
# service network restart
5.執行gedit /etc/rc.local,如:
# gedit /etc/rc.local
參數設置如下:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
route add -net 202.114.6.0 netmask 255.255.255.0 eth0
route add default gw 202.114.6.25 eth0
touch /var/lock/subsys/local
(存檔關掉)

LittleChoCho 發表在 痞客邦 留言(0) 人氣()

JDK URL
詳細資料請參考 http://blog.chinatimes.com/tomsun/archive/2010/08/31/533666.html
安裝Android 主要四個步驟
1. 安裝JDK

LittleChoCho 發表在 痞客邦 留言(0) 人氣()

UDP通訊
UDP優點:

可以同時傳送資料給多個對象
即時性優於TCP
訊息的界限明確
比TCP容易超越NAT(P2P情況)

  • UDP可以活用STUN(Simple Traversal UDP through NATs)


  • LittleChoCho 發表在 痞客邦 留言(0) 人氣()

    Type                                                                           Size   
    char, unsigned char, signed char                                 1   byte   
    short, unsigned short                                                  2   bytes   
    int, unsigned int                                                          4   bytes   
    long, unsigned long                                                     4   bytes   
    float                                                                            4   bytes   
    double                                                                        8   bytes   
    long double1                                                               8   bytes  

    LittleChoCho 發表在 痞客邦 留言(0) 人氣()

    前言:
    By installation default, Linux distribution such as Redhat, CentOS, White OS,
    and Fedora comes with IP Forwarding disabled.
    The reason for this is that default linux installation, whether desktop or server,
    does not consider a default OS installation of forwarding IP packets and request by default,
    as the linux OS is not fully aware of how the users are planning to make use of
    the Linux OS installation or even if the users need to enable /IP for
    The need to forward IP packets from one source to another using linux
    as the default gateway or linux router,
    IP forwarding should be enabled from this considerations.
    IP Forwarding can be done in many different ways that aims to only one thing, enable IP forwarding.

    LittleChoCho 發表在 痞客邦 留言(0) 人氣()

    Blog Stats
    ⚠️

    成人內容提醒

    本部落格內容僅限年滿十八歲者瀏覽。
    若您未滿十八歲,請立即離開。

    已滿十八歲者,亦請勿將內容提供給未成年人士。