Solved

CSockets talking to Berkley sockets

Posted on 2001-06-14
1
227 Views
Last Modified: 2013-11-20
I want to use MFC CSockets to talk to an embedded device using Berkley type sockets (not a PC). Can this be done?. In particular will the onrecieve notifications work or do I have to design my code with straight winsock.

I'm asking this beause I have code from a previous project (PC to PC)I would like to use as the basis for this project.
0
Comment
Question by:BlackRussian
1 Comment
 
LVL 32

Accepted Solution

by:
jhance earned 150 total points
ID: 6192750
CSockets is just an MFC class that encapsulates Windows sockets.  Windows sockets (a.k.a. WINSOCK) is a Microsoft Windows adaptation of the Berkeley sockets library that originated on unix.  There is a fairly close correspondence between the two libraries.

But to answer your question, yes, absolutely a Windows CSocket class CAN connect to and communicate with a Berkeley sockets application on a remote system.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now