Click here to Skip to main content
15,922,155 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: adding records with DataGridView Pin
ramakaniel12-Jun-07 10:20
ramakaniel12-Jun-07 10:20 
GeneralRe: adding records with DataGridView Pin
Dave Kreskowiak13-Jun-07 6:52
mveDave Kreskowiak13-Jun-07 6:52 
QuestionAccessing WMI in the .Net Compact Framework Pin
esplosion6-Jun-07 6:54
esplosion6-Jun-07 6:54 
AnswerRe: Accessing WMI in the .Net Compact Framework Pin
Dave Kreskowiak6-Jun-07 7:27
mveDave Kreskowiak6-Jun-07 7:27 
GeneralRe: Accessing WMI in the .Net Compact Framework Pin
esplosion6-Jun-07 7:31
esplosion6-Jun-07 7:31 
GeneralRe: Accessing WMI in the .Net Compact Framework Pin
Dave Kreskowiak6-Jun-07 7:43
mveDave Kreskowiak6-Jun-07 7:43 
GeneralRe: Accessing WMI in the .Net Compact Framework Pin
esplosion6-Jun-07 7:51
esplosion6-Jun-07 7:51 
QuestionTCPClient (string hostname, int port) on .NET CF Pin
Dewald6-Jun-07 2:51
Dewald6-Jun-07 2:51 
Hi all,

I'm trying to open a socket between a device running .NET CF 1.0 and a PC. The code that sets up the socket (in C#) looks something like this:
TCPClient cli = new TCPClient("192.168.100.150", 11240)

The host runs on 192.168.100.150 and listens on port 11240. When I run the above code on a device with .NET Framework 2.0, everything works fine but when I run it on a device running .NET Compact Framework it throws a System.Net.Sockets.SocketException with error code 11001 (which translates to "No such Host is known").

This seems to have something to do with the dotted IP Address because when I provide a url like "www.google.com" it works (but then throws another exception because you can't connect to google on 11240).

Would anyone have an idea why TCPClient wouldn't accept a dotted IP Address and how to get around it?
AnswerRe: TCPClient (string hostname, int port) on .NET CF Pin
Mike Dimmick6-Jun-07 12:20
Mike Dimmick6-Jun-07 12:20 
GeneralRe: TCPClient (string hostname, int port) on .NET CF Pin
Dewald6-Jun-07 23:03
Dewald6-Jun-07 23:03 
GeneralRe: TCPClient (string hostname, int port) on .NET CF Pin
Mike Dimmick7-Jun-07 3:57
Mike Dimmick7-Jun-07 3:57 
GeneralRe: TCPClient (string hostname, int port) on .NET CF Pin
Dewald7-Jun-07 5:56
Dewald7-Jun-07 5:56 
QuestionWin32 Debug API Pin
chandni_chandrakant_maheta5-Jun-07 0:04
chandni_chandrakant_maheta5-Jun-07 0:04 
AnswerRe: Win32 Debug API Pin
Dave Kreskowiak5-Jun-07 4:02
mveDave Kreskowiak5-Jun-07 4:02 
GeneralRe: Win32 Debug API Pin
chandni_chandrakant_maheta5-Jun-07 4:16
chandni_chandrakant_maheta5-Jun-07 4:16 
GeneralRe: Win32 Debug API Pin
Ilya Verbitskiy5-Jun-07 4:28
Ilya Verbitskiy5-Jun-07 4:28 
QuestionIIS6 with .NET Framework 1.1 and 2.0 at the same time?? can i do that? Pin
Leistath3-Jun-07 4:16
Leistath3-Jun-07 4:16 
AnswerRe: IIS6 with .NET Framework 1.1 and 2.0 at the same time?? can i do that? Pin
Stefan Prodan3-Jun-07 4:39
Stefan Prodan3-Jun-07 4:39 
GeneralRe: IIS6 with .NET Framework 1.1 and 2.0 at the same time?? can i do that? Pin
Leistath6-Jun-07 12:49
Leistath6-Jun-07 12:49 
AnswerRe: IIS6 with .NET Framework 1.1 and 2.0 at the same time?? can i do that? Pin
Mike Dimmick6-Jun-07 12:39
Mike Dimmick6-Jun-07 12:39 
GeneralRe: IIS6 with .NET Framework 1.1 and 2.0 at the same time?? can i do that? Pin
Leistath6-Jun-07 12:53
Leistath6-Jun-07 12:53 
GeneralRe: IIS6 with .NET Framework 1.1 and 2.0 at the same time?? can i do that? Pin
Mike Dimmick7-Jun-07 3:12
Mike Dimmick7-Jun-07 3:12 
QuestionMake MarshalByRefObject thread-safe Pin
Stefan Prodan3-Jun-07 1:42
Stefan Prodan3-Jun-07 1:42 
Questionproblem in implementing sql server connection in windows service Pin
sid22-12-Jun-07 6:24
sid22-12-Jun-07 6:24 
AnswerRe: problem in implementing sql server connection in windows service Pin
Stefan Prodan3-Jun-07 1:41
Stefan Prodan3-Jun-07 1:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.