Thread
:
Socket programming - port issues
View Single Post
#
2
(
permalink
)
11-06-2007, 08:53 PM
JavaBean
Moderator
Join Date: May 2007
Posts: 1,272
Rep Power:
10
Place your connection code inside a method, define port as a variable of the class, and when you catch appropriate exception, increase port number and recall yourself.
JavaBean
View Public Profile
Send a private message to JavaBean
Find all posts by JavaBean