HighTechTalks DotNet Forums  

Smartphone Socket problem (C#)

ASP.net Mobile microsoft.public.dotnet.framework.aspnet.mobile


Discuss Smartphone Socket problem (C#) in the ASP.net Mobile forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Wes via DotNetMonster.com
 
Posts: n/a

Default Smartphone Socket problem (C#) - 11-22-2004 , 05:46 AM






Hey guys I am trying to develop a smartphone application. It is supposed to receive some data from a server and then copy to its storage folders. However, I seem to be failing given the obvious reason that I keep on receiving the 10061 message at the server side: "No connection could be made because the target machine actively refused it".

I traced the line to this:
notifySocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);

But this brought around a 10061 error.

Can anyone advise on what is wrong?

--
Message posted via http://www.dotnetmonster.com

Reply With Quote
  #2  
Old   
Wes via DotNetMonster.com
 
Posts: n/a

Default Re: Smartphone Socket problem (C#) - 11-22-2004 , 08:54 PM






Hi, I forgot to mention that the error occurs when I tried to connect to it: notifySocket.Connect(receiver);

where receiver is a IPEndPoint, with the current IP Address of the user and port number stated (8899), I get an exception 10061 at the server side due to the connect statement: "No connection could be made because the target machine actively refused it".

Please advise!!!

--
Message posted via http://www.dotnetmonster.com

Reply With Quote
  #3  
Old   
JuanDG
 
Posts: n/a

Default Re: Smartphone Socket problem (C#) - 11-23-2004 , 08:22 AM



Sorry friend, but here we are discussing mobile web development, maybe the
guys at microsoft.public.smartphone.developer can help you out with your
..NET CF App.

Cheers!!

--

Juan David Gomez A.
Microsoft Certified Professional
Analista de Desarrollo - PSL S.A.
Web and Wireless Banking
Medellin - Colombia

"Wes via DotNetMonster.com" <forum (AT) DotNetMonster (DOT) com> wrote

Quote:
Hey guys I am trying to develop a smartphone application. It is supposed
to receive some data from a server and then copy to its storage folders.
However, I seem to be failing given the obvious reason that I keep on
receiving the 10061 message at the server side: "No connection could be
made because the target machine actively refused it".

I traced the line to this:
notifySocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream,
ProtocolType.Tcp);

But this brought around a 10061 error.

Can anyone advise on what is wrong?

--
Message posted via http://www.dotnetmonster.com



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.