The mono version that Unity had bundled had a bug that didnt allow for hostnames to be resolved - so one had to input IP of the SFS server.
This is now fixed, so the next version of the API will lift this restriction.
For those that want this _right now_ (like myself), the fix is pretty easy to do in the sources.
Simply find this in the ConnectThread() method
Code: Select all
private void ConnectThread()
{
try
{
IPAddress parsedIpAddress = IPAddress.Parse(ipAddress);
socketConnection = new TcpClient();
socketConnection.Connect(parsedIpAddress, port);
Code: Select all
private void ConnectThread()
{
try
{
socketConnection = new TcpClient();
socketConnection.Connect(ipAddress, port);
/Thomas