Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

CSockets talking to Berkley sockets

Posted on 2001-06-14
1
Medium Priority
?
237 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 32

Accepted Solution

by:
jhance earned 600 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

722 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