INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

New to Visual C++

New to Visual C++

(OP)
I am just now moving from Visual Basic to Visual C++

One of the things I often used in VB was adding a Winsock style control for communicating with another app I would write. I am not seeing anything that jumps out at me in VC++ that does the same.

Could someone help me out with this? I should mention I am using Visual Studio 2015.

RE: New to Visual C++

Is that UDP or TCP?

It is standard socket code - just google for "sockets server example C++". Also have a look at the client. The only thing is you have to add the WSAStartup (see https://msdn.microsoft.com/en-us/library/windows/d...)

RE: New to Visual C++

(OP)
So, as this is in Visual C++ there is no Socket control I can just click and drag onto the form? If I want winsock incorporated I have to use a snippet of code?

RE: New to Visual C++

There hasn't been one of those since VS2002 (VS7). You have to write some code. It is standard stuff anyway. There is a codeproject version of it but I don't know how well it matches the VB6 version.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close