試問Net-Pcap函式的問題

看板Perl作者 (BLUES)時間20年前 (2005/06/04 03:15), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
Net::Pcap::loop($pcap_t, $cnt, \&callback_fn, $user_data); 請問他的$cnt,跟$user_data的意思 我只知道$cnt在負數的情況下,他會loop到出錯,才停止 那指定數字,0、1、2、3、4是指什麼意思 但是$user_data,空白似乎也沒有問題,看範例是用1234 請問有差別嗎? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.81.238.103
文章代碼(AID): #12eAnKo9 (Perl)
討論串 (同標題文章)
文章代碼(AID): #12eAnKo9 (Perl)