Network Socket & Thread Programming Resources

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Hi,

I found the following quite useful:

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

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

http://www.amazon.co.uk/exec/obidos/search-handle-form/202-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...n-us/dnnetcomp/html/netcfmultithreadedapp.asp

HTH
 
EDIT:

CF Control.Invoke only supports delegates of type EventHandler


Stelrad Doulton said:
Hi,

I found the following quite useful:

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

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

http://www.amazon.co.uk/exec/obidos/search-handle-form/202-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...n-us/dnnetcomp/html/netcfmultithreadedapp.asp

HTH
 
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 said:
Hi,

I found the following quite useful:

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

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

http://www.amazon.co.uk/exec/obidos/search-handle-form/202-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...n-us/dnnetcomp/html/netcfmultithreadedapp.asp

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top