katster: (Default)
[personal profile] katster
Okay, I'm back.

But I'm playing with a tricky question. I'm working on a project for class. In the bootstrap, we have to check to see if the socket is occupied or not. I see how to do this through catching the IOexception, but there's got to be a cleaner method to check and see if the port is occupied or not. Anybody know how?

Thanks in advance for the information.

[edit: always check your web references. katster was an idiot and wrote .txt instead of .html as an ending. Fixed now.]

Note

My main blog is kept at retstak.org. I mirror posts to this Dreamwidth account, so feel free to read and comment either here or there.

November 2020

S M T W T F S
1234 567
891011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 17th, 2026 01:44 am
Powered by Dreamwidth Studios