Archive for August, 2014

Network Programmer

Starts from here…

Advertisements

Leave a comment

Python for networking scripting and C++ for everything else

From a 10-year long term point of view, I still have a good chance….
Keep learning.

3 months for Python , at least know it…

Leave a comment

nnnnn

每一个主角,都必须有超强的能力,甚至超能力;

配置直连都ping 不通??!!

当碰到不熟悉的东西的时候,最基本的问题可能都解决不了……
还是要学习加细心!

Leave a comment

how to call a function

def f1():
xxxxx
xxxxx

f1()

or return f1

Leave a comment

Def functions; functions must to be called to be functional

x=99

def f1():
    x=88
    def f2():
        print x
    f2()———————make sure f2() is called within f1()
f1()—————————-make sure f1() is called in global
 
 
if the script like this:
x=99
def f1():
    x=88
    def f2():
        print x
 #   f2()————————nothing will be printed, because the f2() is not called in f1(), even f1() is called in the global
f1()
 
 
or if the script like this:
x=99
def f1():
    x=88
    def f2():
        print x
    f2()
#f1()——————-nothing will be printed, because the f1() is not called, not to mention f2() (even it is called within f1() )

Leave a comment

F5 interface level packet capture

tcpdump -i 3.2
🙂

also:
man tcpdump is really helpful

Leave a comment