Solved

CSockets talking to Berkley sockets

Posted on 2001-06-14
1
231 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Add content to output file 4 67
string initialization in java 11 115
abstract class with all non abstract mentods 6 80
Way to decrease size of apk file 9 88
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

820 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