Japan QualNet Community Forums Japan QualNet Community Forums
Welcome Guest 
ログイン
ユーザ名:

パスワード:


パスワード紛失

新規登録
検索
メインメニュー
アクセスカウンター
2024/05/02:9/11
2024/05/01:21/26

2024/03/03より300/1375
人気モジュール
No.1: フォーラム 75
No.2: QualNet概要 1
日曜日からの合計
人気Browser&OS
No.1:巡回ロボット66
No.2:Windows NT1

No.1:どっかの巡回ロボット64
No.2:Safari1
No.3:Majestic-12巡回ロボット1

日曜日からの合計
メイン
   Network Layer Settings: IP, QoS, Queuing & Scheduling
     priority queue
投稿するにはまず登録を

題名 投稿者 日時
   priority queue july_4th 2012/3/30 16:26
     Re: priority queue july_4th 2012/3/30 16:40
     » Re: priority queue chackn 2012/3/30 19:16
         Re: priority queue july_4th 2012/4/2 0:11
           Re: priority queue hiro 2012/4/2 8:07
             Re: priority queue july_4th 2012/4/2 11:37
               Re: priority queue hiro 2012/4/2 12:24
                 Re: priority queue july_4th 2012/4/2 13:43
                   Re: priority queue hiro 2012/4/2 16:51
                     Re: priority queue july_4th 2012/4/2 17:32
                       Re: priority queue chackn 2012/4/3 17:57
フラット表示 前のトピック | 次のトピック
投稿者 スレッド
chackn
投稿日時: 2012/3/30 19:16
常連
登録日: 2005/5/13
居住地: Kanagawa, Japan
投稿: 61
Re: priority queue
july_4thさん

ソースのどのあたりをいじればいいかは、以下の記事が参考になりますよね。

http://simweb.kke.co.jp/qualnet/forum/modules/newbb/viewtopic.php?viewmode=thread&topic_id=348&forum=28&post_id=1293#1293

残るは、TCPとUDPの見分け方ですが、IPヘッダの"protocol"フィールドの値で区別できます。
RFC762(ASSIGNED NUMBERS)によると、protocolフィールドの値は、

TCP(TCP-4): 6
UDP(User Datagram): 17

となっていますので、これで見分けられますね。
フラット表示 前のトピック | 次のトピック
Copyright c KOZO KEIKAKU ENGINEERING Inc. All Rights Reserved.
XOOPS Cube PROJECT