Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.mobile
Smartphone Socket problem (C#
Adam Edell via DotNetMonster.com
11/22/2004 11:47:00 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.dotnetm...
2 Answers
Adam Edell via DotNetMonster.com
11/23/2004 2:55:00 AM
0
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.dotnetm...
JuanDG
11/23/2004 2:23:00 PM
0
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@DotNetMonster.com> wrote in message
news:1bba6667442b44f89e5aa9fa2568d150@DotNetMonster.com...
> 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.dotnetm...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Smartphone Socket problem (C#
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password