Solved

CSockets talking to Berkley sockets

Posted on 2001-06-14
1
232 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 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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
Best tools for Backup and restore of Wordpress site 6 58
either24  challenge 19 110
Execute multiple curl cmds with sleep and send output to file 10 121
noX challenge 17 144
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

738 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