Click to See Complete Forum and Search --> : sockets in C using MSVC


macgowan
October 21st, 2002, 04:21 PM
I have an old program (C) that uses a COM port to communincate with a host. I am tasked to implement FTP using TCP/IP. I have found a lot of references to sockets in unix using C but not a lot if I am building using MSVC and a console application ??

Any comments / suggestions
Thanks
Chris Macgowan

JMS
October 21st, 2002, 04:38 PM
There are two guys who are the most notable tcp/ip guys on the planet..

1) is Stevens..

2) is Comer

Comer has a book called something like "interprocess communications using tcp/ip". This book has been published using several libraries. One is windows socket library.. It's a must purchase for a newbie comunications guy..

Good luck...

JMS
October 21st, 2002, 04:42 PM
Ha.. I forgot I had my copy in my desk drawer

"Internetworking with TCP/IP, volume III Client -Server Programming and Applications Windows Sockets Version"

Microsoft calls their tcp/ip flavor WinSock.... The book is by

Douglas E. Comer and David L. Stevens..

If you buy this book and stay in the communications business you'll probable purchase all the books both of these guys have written... Just a prediction, but definitely pick up this book..

Mick
October 21st, 2002, 04:50 PM
This might help. There are alot of resources and samples using winsock on the net. Try using google and doing a search. You can find sample code that implements what you are trying to do. There are also samples on this webpage.

http://tangentsoft.net/wskfaq/

macgowan
October 21st, 2002, 05:01 PM
Thanks for the info ...
winsock.h and winsock2.h ... yes yes ...
I will go and buy the book!
Bye Bye
Chris