C Board  

Go Back   C Board > General Programming Boards > Networking/Device Communication

Reply
 
LinkBack Thread Tools Display Modes
Old 10-31-2005, 11:42 AM   #1
Registered User
 
Join Date: Oct 2005
Posts: 5
newb to winsock

im coming from python and using a language which is crossplatform and no differentiation between socket usage.

i just learned ansi c, now i am trying to write my first real application. theres no gui just a command line interface. its a windows app - where can i learn about winsock and c programming? also, now that i switch from ansi c to windows c programming, what FREE compiler can i use ...? thanks in advance, im lost in the water here.
marla is offline   Reply With Quote
Old 10-31-2005, 05:23 PM   #2
Registered User
 
Join Date: Sep 2004
Posts: 57
Quote:
Originally Posted by marla
im lost in the water here.
1. First get the compiler. Here is one easy option:
http://www.bloodshed.net/

2. Here are some good online references:
a. excellent tutorial for windows gui programming in C.
http://www.winprog.org/tutorial/
b. good C reference online:
http://www.acm.uiuc.edu/webmonkeys/book/c_guide/
c. good C tutorial:
http://www.eskimo.com/~scs/cclass/notes/top.html

3. Get some good reference books. Spend some money, if you are serious.
It will be more difficult to learn on the cheap.
As a minimum, get this often recommended book:
"Programming Windows" by Charles Petzgold ( ~$40, get it from amazon.com)

4. Look over the Cprogramming FAQ:
http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

5. winsock? Let's wait until you're ready with the compiler, and
can make simple programs.


But do #1 first. If you have problems, ask.
cdave is offline   Reply With Quote
Old 11-10-2005, 09:12 AM   #3
LMZ
Registered User
 
Join Date: Oct 2005
Posts: 35
im also newbie FOR winsock (only), maybe throw some links?
__________________
im from LMoldovaZ
LMZ is offline   Reply With Quote
Old 11-10-2005, 09:18 PM   #4
Registered User
 
Join Date: Sep 2004
Posts: 57
Quote:
Originally Posted by LMZ
im also newbie FOR winsock (only), maybe throw some links?
If you are serious, I strongly recommend you buying a book with simple examples.
Having the book saves you a lot of time.

Here is the network FAQ page
Useful Links And Good Books

Here is a very simple example that I posted (both client and server)
Troubles with Sockets

If these are not helpful to you, a winsock newbie, please post why.
cdave is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Winsock issues tjpanda Windows Programming 3 12-04-2008 08:32 AM
Winsock Messaging Program Morgul Windows Programming 13 04-25-2005 04:00 PM
Winsock - Where do i start? Brain Cell Networking/Device Communication 5 02-14-2005 01:39 PM
Where do I initialize Winsock and catch messages for it? Lithorien Windows Programming 10 12-30-2004 12:11 PM
winsock pode Networking/Device Communication 2 09-26-2003 12:45 AM


All times are GMT -6. The time now is 07:11 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22