ardar / flowlib

Automatically exported from code.google.com/p/flowlib
1 stars 0 forks source link

Input string has wrong format #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I'm not sure. I think exception details is enough to solve issue.

What version of the product are you using? ~~(Do not write latest)~~
SVN r482

On what operating system?
Windows Vista SP1

Call Stack? ~~(Line numbers and exception type helps much)~~
hubnmdcmessages.cs Line 476
Exception: Input string has wrong format

tmp[1] = "45$SR"
raw = "$Search 10.108.45.159:45$SR Crazy Pictures\Starcraft 2\ss3-
hires.jpg581886 12/15TTH:EPBWT243YWN3IOYDEUNMBNUWW3NYYIYKUJRVSKI 
(10.110.1.10:411)"

Original issue reported on code.google.com by hackw...@gmail.com on 24 Mar 2009 at 4:26

GoogleCodeExporter commented 8 years ago
What do you have on that line?
Because i have the int.Parse line below on that line.
It is in a try catch block and shouldnt give you any more problems then invalid 
info.
What hub are you in?

                    try
                    {
                        port = int.Parse(tmp[1]);
                        if (port < 0 || port > 65535)
                            port = 0;
                    }
                    catch { }

Original comment by blomman84 on 29 Mar 2009 at 6:20

GoogleCodeExporter commented 8 years ago
I'm sorry, please close this issue. I'm in o-go.ru hub, but allows to join only 
from 
intranet.

Original comment by hackw...@gmail.com on 30 Mar 2009 at 2:35

GoogleCodeExporter commented 8 years ago

Original comment by blomman84 on 30 Mar 2009 at 5:09