Hey

This is a discussion on Hey within the C++ Programming forums, part of the General Programming Boards category; Hows it going everyone? I've not programmed in C++ since HS but I've been programming in vb for the past ...

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    4

    Hey

    Hows it going everyone? I've not programmed in C++ since HS but I've been programming in vb for the past year or so. I've decided the hell with vb and I'm going back to C/C++.

    On to my question... in vb I've made quiet a few programs. With a stupid move by me as in using the winsock control provided by MicroSoft instead of using the winsock api... Well the question is can anyone help me in the most direct path to converting my "winsock wrapper" (pretty much just a module) into winsock api code... Thanks in adv.

  2. #2
    Registered User
    Join Date
    Sep 2004
    Posts
    8
    Well, I don't know too much about Winsock and all that, and it has been years since I have used VB. But I know if you are using MFC there is a class for Winsock, you can look it up in the MSDN. It should help to make an easy wrapper, but if you are planning to do it in Win32, then I am not sure how to do it. I just wanted to let you know about the Winsock class in MFC.

  3. #3
    Registered User
    Join Date
    Sep 2004
    Posts
    4
    I don't want to use MFC yet because from everyone I've talked to they've all said to know the api for whatever you want to do. Once you know it go ahead and use MFC because it does make life easier if you know its +/- effects of using it.

    But thank you very much for the offer I might see if I can find it.

  4. #4
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    Do a lookup on the following commands:

    WSAStartup()
    socket()
    connect()
    accept()
    listen()
    recv()
    send()
    listen()
    bind()

    It would probably be easier to just do a google search for winsock tutorial though.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Hey, need help with Dropping ball and Bouncing
    By thynksheraze in forum C++ Programming
    Replies: 2
    Last Post: 02-23-2003, 02:05 PM
  2. Hey
    By REMY in forum C++ Programming
    Replies: 1
    Last Post: 01-22-2003, 10:06 PM
  3. Hey all...
    By doubleanti in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 11-01-2002, 07:56 PM

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