PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Network Socket & Thread Programming Resources

Reply

Network Socket & Thread Programming Resources

 
Thread Tools Rate Thread
Old 13-06-2005, 07:53 PM   #1
=?Utf-8?B?Rmx5bm4gQXJyb3dzdGFycg==?=
Guest
 
Posts: n/a
Default Network Socket & Thread Programming Resources


Hi, everyone.

I'm working on a project where I'd like to open a network connection between
a dotNET desktop app and a dotNET CF app. Can someone point out some free
online resources for getting started in network programming? Specifically
opening sockets and sending information back and forth. Also, any good books
you'd recommend on the subject?

Also, I'm in need of a quick introduction to thread programming, since I'll
need to update a UI from different threads.

Thanks. =)

Flynn
---------------
If we can't corrupt the youth of today,
the adults of tomorrow won't be any fun.
  Reply With Quote
Old 13-06-2005, 08:12 PM   #2
Stelrad Doulton
Guest
 
Posts: n/a
Default Re: Network Socket & Thread Programming Resources

Hi,

I found the following quite useful:

http://www.amazon.co.uk/exec/obidos...7432847-2663805

and if you can stomach a book clearly written for Computer Science
students...

http://www.amazon.co.uk/exec/obidos...7432847-2663805

As for updating the UI from non-GUI threads there's really not much to worry
about there, just remember that the CF only supports delegates of type
EventHandler:

http://msdn.microsoft.com/library/d...threadedapp.asp

HTH


"Flynn Arrowstarr" <FlynnArrowstarr@discussions.microsoft.com> wrote in
message news:796274B1-9EE8-4BF7-8080-7339194C62DD@microsoft.com...
> Hi, everyone.
>
> I'm working on a project where I'd like to open a network connection
> between
> a dotNET desktop app and a dotNET CF app. Can someone point out some free
> online resources for getting started in network programming? Specifically
> opening sockets and sending information back and forth. Also, any good
> books
> you'd recommend on the subject?
>
> Also, I'm in need of a quick introduction to thread programming, since
> I'll
> need to update a UI from different threads.
>
> Thanks. =)
>
> Flynn
> ---------------
> If we can't corrupt the youth of today,
> the adults of tomorrow won't be any fun.



  Reply With Quote
Old 13-06-2005, 08:20 PM   #3
Stelrad Doulton
Guest
 
Posts: n/a
Default Re: Network Socket & Thread Programming Resources

EDIT:

CF Control.Invoke only supports delegates of type EventHandler


"Stelrad Doulton" <___@____.com> wrote in message
news:QUkre.22148$iy2.20622@newsfe1-gui.ntli.net...
> Hi,
>
> I found the following quite useful:
>
> http://www.amazon.co.uk/exec/obidos...7432847-2663805
>
> and if you can stomach a book clearly written for Computer Science
> students...
>
> http://www.amazon.co.uk/exec/obidos...7432847-2663805
>
> As for updating the UI from non-GUI threads there's really not much to
> worry about there, just remember that the CF only supports delegates of
> type EventHandler:
>
> http://msdn.microsoft.com/library/d...threadedapp.asp
>
> HTH
>
>
> "Flynn Arrowstarr" <FlynnArrowstarr@discussions.microsoft.com> wrote in
> message news:796274B1-9EE8-4BF7-8080-7339194C62DD@microsoft.com...
>> Hi, everyone.
>>
>> I'm working on a project where I'd like to open a network connection
>> between
>> a dotNET desktop app and a dotNET CF app. Can someone point out some free
>> online resources for getting started in network programming? Specifically
>> opening sockets and sending information back and forth. Also, any good
>> books
>> you'd recommend on the subject?
>>
>> Also, I'm in need of a quick introduction to thread programming, since
>> I'll
>> need to update a UI from different threads.
>>
>> Thanks. =)
>>
>> Flynn
>> ---------------
>> If we can't corrupt the youth of today,
>> the adults of tomorrow won't be any fun.

>
>



  Reply With Quote
Old 14-06-2005, 08:24 PM   #4
=?Utf-8?B?Rmx5bm4gQXJyb3dzdGFycg==?=
Guest
 
Posts: n/a
Default Re: Network Socket & Thread Programming Resources

Thanks for the book suggestion. The first book looks like it will cover my
needs nicely. I couldn't get the second link to work, but there were a couple
of suggestions on the page for the first book that looked interesting as well.

I'm not certain I totally understand the threading article, but the code is
easy enough to follow. I'll give it a try. =)

Flynn
---------------
If we can't corrupt the youth of today,
the adults of tomorrow won't be any fun.


"Stelrad Doulton" wrote:

> Hi,
>
> I found the following quite useful:
>
> http://www.amazon.co.uk/exec/obidos...7432847-2663805
>
> and if you can stomach a book clearly written for Computer Science
> students...
>
> http://www.amazon.co.uk/exec/obidos...7432847-2663805
>
> As for updating the UI from non-GUI threads there's really not much to worry
> about there, just remember that the CF only supports delegates of type
> EventHandler:
>
> http://msdn.microsoft.com/library/d...threadedapp.asp
>
> HTH
>
>
> "Flynn Arrowstarr" <FlynnArrowstarr@discussions.microsoft.com> wrote in
> message news:796274B1-9EE8-4BF7-8080-7339194C62DD@microsoft.com...
> > Hi, everyone.
> >
> > I'm working on a project where I'd like to open a network connection
> > between
> > a dotNET desktop app and a dotNET CF app. Can someone point out some free
> > online resources for getting started in network programming? Specifically
> > opening sockets and sending information back and forth. Also, any good
> > books
> > you'd recommend on the subject?
> >
> > Also, I'm in need of a quick introduction to thread programming, since
> > I'll
> > need to update a UI from different threads.
> >
> > Thanks. =)
> >
> > Flynn
> > ---------------
> > If we can't corrupt the youth of today,
> > the adults of tomorrow won't be any fun.

>
>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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