Solved

CSockets talking to Berkley sockets

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Different colored text in ComboBox without Subclassing 8 55
fix34  challenge 9 104
Dell Alienware Graphics Amplifier Driver for non-Alienware systems 18 192
noX challenge 17 91
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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

20 Experts available now in Live!

Get 1:1 Help Now