aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes How to make a socket between java and c++ application. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "How to make a socket between java and c++ application." Watch "How to make a socket between java and c++ application." New topic
Author

How to make a socket between java and c++ application.

phooton misra
Ranch Hand

Joined: Jul 31, 2012
Posts: 47

Somebody please suggest me how can i make a socket program between c++ and java application?
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18988
    
  40

phooton misra wrote:Somebody please suggest me how can i make a socket program between c++ and java application?


Java supports standard network protocols -- both TCP and UDP -- so the standard Java usage of sockets will communicate fine with their C / C++ counterparts. There is no need to do anything different if the other program is C++, just use the matching protocol configurations, and it will work.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make a socket between java and c++ application.