General J2EE: C++ socket and Java socket?

  1. C++ socket and Java socket? (3 messages)

    If i have a socket server implemented by C++ on UNIX, can i receive the message using socket client implemented by JAVA on Windows?

    Threaded Messages (3)

  2. C++ socket and Java socket?[ Go to top ]

    Yes. Sockets are a lower level mechanism, and any language can talk to another one if they both support sockets
  3. Same protocol[ Go to top ]

    Yes,of course. But you should use same protocol and port A socket is one end-point of a two-way communication link between two programs running on the network. http://www.developerzone.biz/index.php?option=com_content&task=view&id=94&Itemid=36
  4. C++ socket and Java socket?[ Go to top ]

    In this case it should not be an issue, but keep in mind that Intel/Windows and Unix - usually not in Intel - use different binary encoding.
    This is very easy to take care with NIO, but a bit more involved with regular Java sockets.

    P Jaime
    Worldco LLC.