/*
Here s a small IPv4 example: it asks for a portbase and a destination and
starts sending packets to that destination.
這個(gè)IPv4版的例子:它要求portbase(本地端口)與destination (目的端口)然后發(fā)送消息
同時(shí)還監(jiān)聽(tīng)消息。
例子測(cè)試一:
啟動(dòng)一個(gè)運(yùn)行實(shí)例,本地地址與目標(biāo)地址用同一個(gè)端口8888
例子測(cè)試二:
啟動(dòng)兩個(gè)運(yùn)行實(shí)例,本地地址與目標(biāo)地址用不同的端口(它要求是偶數(shù)端口號(hào))
兩個(gè)實(shí)例互發(fā)
例子的中文解釋都由hanyuejun添加,有任何疑問(wèn)請(qǐng)發(fā)hanyuejun2006@163.com
*/
標(biāo)簽:
destination
and
portbase
example
上傳時(shí)間:
2014-01-14
上傳用戶(hù):tianjinfan