Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Puffin Rock Characters Plush Toy Set
anil1961
Updated:
Saturday at 3:51 PM
Toyota Vitz scp10 For Sale
Lakmal Bandara
Updated:
Wednesday at 10:50 AM
Kandy
Welcome all my all new pet shop Bark.lk
dilumrane
Updated:
Nov 2, 2026
Windows RDP Only Rs.500 a month
Blogerwiki
Updated:
Nov 1, 2026
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
UDP Socket Programming in Java
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="MihiCherub" data-source="post: 17162681" data-attributes="member: 238676"><p><span style="font-size: 12px">ඔව් IOException එකෙන් catch කරනව. ඒත් එතන log එක අයින් කලේ exe කලාට පස්සෙ ඔක්කොම exception logs, error කියල file එකකට save කරනවනෙ. ඉතිං internet connection නැති එක error එකක් නොවන නිස ඒ log එක අයින් කලා. ඔය try-catch එක auto වැටෙන එකක් නෙ. UnknownHostException වෙනුවට IOException වැටුනෙ ඇයි කියල හරියටම මීටර් නෑ.</span></p><p><span style="font-size: 12px">3000 කියන්නෙ time out එක. උබ පාවිච්චි කරන IDE එක මොකද්ද? CTRL+SPACE ගහපුවාම පැරාවලින් ඕනෙ මොනාද කියල Netbeans IDE එකෙන් නම් හොදටම බලාගන්න පුලුවන්.</span></p><p></p><p><span style="font-size: 12px">මම දාපු 3න් වෙනි කෝඩ් එකෙත් එහෙමයි array සයිස් එකක් නැතුව කෙලින්ම තියෙන තරම එනව.</span></p><p><span style="font-size: 12px">InetAddress ip[] = InetAddress.getAllByName(host);</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">ඒකෙ තියරිය නම් දන්නෙ නෑ. ඕනෙ නම් arrays questions ටිකක් එවන්නම් ඒකෙන් තේරුම් ගන්න පුලුවන් වෙයි, අද බෑ ඩෙස්ක්ටොප් එකේ තියෙන්නෙ. ඒකෙ මොනිටරේත් ලැපට ගහල. හෙට එවන්නම්.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">සාම්න්යෙන් මෙහෙමත් කරන්න පුලුවන් array size එකක් දෙන්නෙ නැතුව.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">String a[] = new String{"A","B","C","D"};</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">String name = "Hello-World-Elakiri-Thread";</span></p><p><span style="font-size: 12px">String b[] = name.split("-");</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">තියරිය නම් දන්නෙ නෑ.</span></p><p><span style="font-size: 12px">කෝමේ අනිත් ජාව වැඩ්ඩො ටික.. </span></p></blockquote><p></p>
[QUOTE="MihiCherub, post: 17162681, member: 238676"] [SIZE=3]ඔව් IOException එකෙන් catch කරනව. ඒත් එතන log එක අයින් කලේ exe කලාට පස්සෙ ඔක්කොම exception logs, error කියල file එකකට save කරනවනෙ. ඉතිං internet connection නැති එක error එකක් නොවන නිස ඒ log එක අයින් කලා. ඔය try-catch එක auto වැටෙන එකක් නෙ. UnknownHostException වෙනුවට IOException වැටුනෙ ඇයි කියල හරියටම මීටර් නෑ. 3000 කියන්නෙ time out එක. උබ පාවිච්චි කරන IDE එක මොකද්ද? CTRL+SPACE ගහපුවාම පැරාවලින් ඕනෙ මොනාද කියල Netbeans IDE එකෙන් නම් හොදටම බලාගන්න පුලුවන්.[/SIZE] [SIZE=3]මම දාපු 3න් වෙනි කෝඩ් එකෙත් එහෙමයි array සයිස් එකක් නැතුව කෙලින්ම තියෙන තරම එනව. InetAddress ip[] = InetAddress.getAllByName(host); ඒකෙ තියරිය නම් දන්නෙ නෑ. ඕනෙ නම් arrays questions ටිකක් එවන්නම් ඒකෙන් තේරුම් ගන්න පුලුවන් වෙයි, අද බෑ ඩෙස්ක්ටොප් එකේ තියෙන්නෙ. ඒකෙ මොනිටරේත් ලැපට ගහල. හෙට එවන්නම්. සාම්න්යෙන් මෙහෙමත් කරන්න පුලුවන් array size එකක් දෙන්නෙ නැතුව. String a[] = new String{"A","B","C","D"}; String name = "Hello-World-Elakiri-Thread"; String b[] = name.split("-"); තියරිය නම් දන්නෙ නෑ. කෝමේ අනිත් ජාව වැඩ්ඩො ටික.. [/SIZE] [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom