Hi, I want to know that which java socket method describes that which ports are assigned to other i mean that which ports are free to use from operating system or anywhere else? Thanks in advance, Angela
Hi, I do not remember where, but I saw small program for scanning the port available. In that prg a ServerSocket is created for the port desired (say for 1 to 65535). If it does not throw in an Exception that port is free.
------------------ thanks and regards ravee.
Angela Jessi
Ranch Hand
Joined: Nov 27, 2000
Posts: 428
posted
0
Thanks Ravee, This is very important for me.. If you have remember even weblink for this information, would please send me link. I would appreciate your help. Thanks, Angela
Hi Angela I think I got it in one of those pages either at itlibrary public archive http://www.itlibrary.com/reference/dir.archive1.html or at http://www.informit.com/ free library. I know this is far from exact, but I hope it helps. regards ravee. [This message has been edited by Ravee Bhat (edited February 05, 2001).]