Thread: C++ Network Socket Programming

  1. #1
    Registered User
    Join Date
    Sep 2009

    C++ Network Socket Programming

    Dear all,

    I am going to write the network socket programming and now study the system first. I will connect from one API Client to the Application Gateway in another company. I noted the following and don't know how to co-operate with this new features in application gateway. Could you tell me what they are?

    (1) Partition handling
    (2) virtual underlying concept
    (3) additional information type for filtering broadcasts
    (4) How to prevent ignored request or data lost between api client and application gateway.

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    And what's the source for this information? Without it we can at most give you generic answers to some of these that won't solve anything. You seem to have taken them out of whatever documentation you have been reading. Outside their context, they became hard to interpret.

    1. ?
    2. ? Clearly out of context. We can't answer this.
    3. Probably related to the creation of an UDP datagram type.
    4. One of the core concepts of an asynchronous IO library. It's the responsibility of the library to provide the means to minimize data loss to only those events that are outside its scope. Like a power outage or a badly configured router. Other than outside events, which these two are an example, local (to the library) data loss events should be avoided. This may happen through many forms: A listening socket bind that is completed on another process or thread, failure to properly confirm message reception, failure to properly clear resources, even simply by bad programming practices like a buffer overflow.


    Somehow I suspect you really don't want to create a sockets library, but instead use an existing one.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem with socket descriptors
    By McKracken in forum C Programming
    Replies: 1
    Last Post: 07-22-2009, 08:51 AM
  2. socket programming question, closing sockets...
    By ursula in forum Networking/Device Communication
    Replies: 2
    Last Post: 05-31-2009, 05:17 PM
  3. Linux Network Programming (server architeture)
    By curlious in forum Networking/Device Communication
    Replies: 3
    Last Post: 01-08-2005, 05:16 PM
  4. when to close a socket
    By Wisefool in forum Networking/Device Communication
    Replies: 5
    Last Post: 11-02-2003, 10:33 AM
  5. socket newbie, losing a few chars from server to client
    By registering in forum Linux Programming
    Replies: 2
    Last Post: 06-07-2003, 11:48 AM