-
C++ socket and Java socket? (3 messages)
- Posted by: jl c
- Posted on: December 01 2003 21:42 EST
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)
- C++ socket and Java socket? by Scott Carlson on December 02 2003 08:19 EST
- Same protocol by jim woods on July 06 2006 03:04 EDT
- C++ socket and Java socket? by Paul Jaime on December 02 2003 10:02 EST
-
C++ socket and Java socket?[ Go to top ]
- Posted by: Scott Carlson
- Posted on: December 02 2003 08:19 EST
- in response to jl c
Yes. Sockets are a lower level mechanism, and any language can talk to another one if they both support sockets -
Same protocol[ Go to top ]
- Posted by: jim woods
- Posted on: July 06 2006 03:04 EDT
- in response to Scott Carlson
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 -
C++ socket and Java socket?[ Go to top ]
- Posted by: Paul Jaime
- Posted on: December 02 2003 10:02 EST
- in response to jl c
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.