SocketException

Bug #200395 reported by sam123
2
Affects Status Importance Assigned to Milestone
mono (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: mono

I am trying to run a program which works fine under mono in windows.
But when I run it in mono under ubuntu
I get the exception

Unhandled Exception: System.Net.Sockets.SocketException: No such host is known
  at System.Net.Dns.GetHostByName (System.String hostName) [0x00000]
  at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00000]

I dont think thats its an issue with IP address or service since I can conncet to the service in windows with mono
Cheers,
Sam

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"

Revision history for this message
Sven Boden (svenboden) wrote :

Which application are you try to run? To which IP address should it connect to?

If it's an own program, do you have a small sample of where you try to connect to the IP address. It's working in other mono programs so my hunch would be it's an application bug

Changed in mono:
status: New → Incomplete
Revision history for this message
sam123 (sam-barker0) wrote : Re: [Bug 200395] Re: SocketException

Hi,
I trying to start a SIP session using indepentsoft_sip.dll
I dont think that its an application bug,since i was able to run the exe[on
ubuntu with mono] few weeks ago.its now I am getting the exception

Unhandled Exception: System.Net.Sockets.SocketExcept

ion: No such host is known
  at System.Net.Dns.GetHostByName (System.String hostName) [0x00000]
  at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00000]
  at Independentsoft.Sip.SipClient.g (System.String A_0) [0x00000]
  at Independentsoft.Sip.SipClient.Bind () [0x00000]
  at Independentsoft.Sip.SipClient.f () [0x00000]
  at Independentsoft.Sip.SipClient.Connect () [0x00000]

On Fri, Mar 14, 2008 at 8:35 PM, Sven Boden <email address hidden> wrote:

> Which application are you try to run? To which IP address should it
> connect to?
>
> If it's an own program, do you have a small sample of where you try to
> connect to the IP address. It's working in other mono programs so my
> hunch would be it's an application bug
>
> ** Changed in: mono (Ubuntu)
> Status: New => Incomplete
>
> --
> SocketException
> https://bugs.launchpad.net/bugs/200395
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Source Package "mono" in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: mono
>
> I am trying to run a program which works fine under mono in windows.
> But when I run it in mono under ubuntu
> I get the exception
>
> Unhandled Exception: System.Net.Sockets.SocketException: No such host is
> known
> at System.Net.Dns.GetHostByName (System.String hostName) [0x00000]
> at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress)
> [0x00000]
>
> I dont think thats its an issue with IP address or service since I can
> conncet to the service in windows with mono
> Cheers,
> Sam
>
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=7.10
> DISTRIB_CODENAME=gutsy
> DISTRIB_DESCRIPTION="Ubuntu 7.10"
>

Revision history for this message
Jo Shields (directhex) wrote :

Without a test case, we are unable to duplicate the problem - and therefore isolate the problem.

Please attach a test case to this bug which will show your exact problem, and we'll be able to work out exactly where the problem lies

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in mono:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.