Thread: C++ examples for network programming

  1. #1
    Registered User
    Join Date
    Nov 2019

    C++ examples for network programming

    Hi (this is a 1st posting for me ).
    My aspiration for the above is to replace Kepware SW which is commercial SW that is used to connect to a Siemens S7 200 PLC.

    I am intending to use DEV C++ (from Bloodshed V5). My only usage with the Kepware is to write 10 words (16 bits) and read another 10 words. This is a simple repeating operation.

    My expectation is that there would be some type of Producer and Consumer example to start with. ??

    Can the good people in this forum point me is any direction.

    Regards JC.....

  2. #2
    Registered User
    Join Date
    Nov 2019
    I would like to add to my previous discussion, that I am seeking to perform a classic OPC connection (on an industrial PLC).

    Regards JC....

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Ask here perhaps?

    If you're asking about a specialist "foo" feature (like a library), it's best to search "close to home" as it were.

    This is a general C/C++ forum for beginners.
    The chance that you might luck into finding someone who knows what you're looking for is slim.

    Besides, your "from Bloodshed V5" was last updated in 2005.
    Get the "Orwell Dev-C++" if you want a maintained fork.

    If you just want to send and receive a couple of network packets, then
    recv() - recv function (winsock.h) - Win32 apps | Microsoft Docs
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Seeking advisor for 'C' programming examples -> YouTube
    By gandsnut in forum C Programming
    Replies: 13
    Last Post: 06-29-2017, 02:57 PM
  2. network programming
    By t014y in forum C++ Programming
    Replies: 1
    Last Post: 05-12-2011, 03:42 PM
  3. network programming
    By threahdead in forum C Programming
    Replies: 1
    Last Post: 10-27-2002, 04:15 PM
  4. HOW TO: Network Programming in C++
    By govi in forum Windows Programming
    Replies: 7
    Last Post: 08-06-2002, 05:02 AM
  5. Network Programming
    By Drakon in forum C++ Programming
    Replies: 9
    Last Post: 01-07-2002, 10:58 PM

Tags for this Thread