1:是的,只有active:=true后在启动IdUDPServer1UDPRead线程
2:两个地方不可能同时监听同一端口,会提示端口已被占用
---------------------------
Debugger Exception Notification
---------------------------
Project Project1.exe raised exception class EIdCouldNotBindSocket with message 'Could not bind socket. Address and port are already in use.'. Process stopped. Use Step or Run to continue.
---------------------------
OK Help
---------------------------