• Post Reply Bookmark Topic Watch Topic
  • New Topic

SOCKET API's(URGENT)

 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ravee Bhat
Ranch Hand
Posts: 72
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ravee Bhat
Ranch Hand
Posts: 72
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!