CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    May 1999
    Location
    Saint Paul, Minnesota, US
    Posts
    91

    sockets in C using MSVC

    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

  2. #2
    Join Date
    May 2000
    Location
    Washington DC, USA
    Posts
    715
    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...

  3. #3
    Join Date
    May 2000
    Location
    Washington DC, USA
    Posts
    715
    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..

  4. #4
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537
    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/

  5. #5
    Join Date
    May 1999
    Location
    Saint Paul, Minnesota, US
    Posts
    91

    Thanks !!

    Thanks for the info ...
    winsock.h and winsock2.h ... yes yes ...
    I will go and buy the book!
    Bye Bye
    Chris

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured