View Single Post
Old Jan 10th, 2007, 8:48 PM   #2
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 769
Rep Power: 3 Jimbo is on a distinguished road
You can simply return the IP address selected from ipmethd() as a String, save that value in a variable, and use the variable when you create the socket.
__________________
<insert disclaimer here>
<insert shameless plug for Visual Studio here>
Jimbo is offline   Reply With Quote