https://www.infraexpert.com/study/multicastz03.html でIPを参考にさせたのですが、
#include "pcbnet2.as" title "UDPマルチキャスト" udpsock soc,3333,1 if stat : dialog "ソケットの作成に失敗しました。",1 : end udpmjoin soc,"224.0.0.1" if stat : dialog "マルチキャストセッションへの参加に失敗しました。",1 : end udpsendto soc,"224.0.0.1",3333 msg="" input msg,240,24,63 button "送信!",*send onexit *bye goto *main *main udpcheck a,soc if a : gosub *recv wait 1 goto *main *send udpput msg,soc objprm 0,"" goto *main *recv sdim buf,64 sdim info,64 udpget buf,64,soc udpinfo info,soc mes "["+info+"]: "+buf return *bye udpclose soc end
友達と↑のサンプルテストプログラムを起動してチャットもどきを実行したのですがメッセージが受信できません。
グローバルIP(?)ローカルIP(?)、そもそもどういうIPを指定してしたらいいのかも分かりません。
ネットワークはサンプルを改造しただけなので、知識も理解もほぼ皆無状態の私ですが
私に分かりやすい説明をお願い致します(._.)