aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes SOCKET API's(URGENT) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "SOCKET API Watch "SOCKET API New topic
Author

SOCKET API's(URGENT)

Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
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

Joined: Nov 26, 1999
Posts: 72

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
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

Joined: Nov 26, 1999
Posts: 72

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).]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: SOCKET API's(URGENT)
 
Similar Threads
Port scanning
socket creation doubt ?
free port?????
Port scanning Vista
How to connect to WIFI with the help of java(sockets)?