我用Actie X Exe 專案分別做可接多個client的Server及Client程式,
client亂數產生值,<5產生新serverthread,>5產生新clientthread,
每個client及server最多送與接5個server及client,就自動關畢,
我在Server程式的localport設每次產生新的serverthread,就有自己的localport
compile時無bug,但做成exe檔就有error訊息"Address in use",
不知是那有問題嚕...有無教好的方法或例子.....請大家幫忙..感激不盡..
client亂數產生值,<5產生新serverthread,>5產生新clientthread,
每個client及server最多送與接5個server及client,就自動關畢,
我在Server程式的localport設每次產生新的serverthread,就有自己的localport
compile時無bug,但做成exe檔就有error訊息"Address in use",
不知是那有問題嚕...有無教好的方法或例子.....請大家幫忙..感激不盡..
請先 登入 以發表留言。