-
Socket Communication between java client and c++ server
HI,
In my project,I want to do the following:
1.Sending datas from client to server.
2.Getting the response from server to client.
I written the client in java.but the server is in c++.
Is it possible to communicate with the server using java codings itself?
Im able to send the data from my java client to the server.
but unable to get back the datas from server to client.
Can anyone tell me how to do this?
thanks a lot
-
Make your Socket connection then get the input/output streams created from the connection. If network communication was limited to the same language, the internet would be in a world of hurt.
-
is ur java program expecting string or bytes from c program.
wrap the java iostream object to accept bytes.
i think that can solve ur problem.
-
How to pass structure between Java client and c++ server using socket
Hi,
I have a Java client (JSP) and wanted to communicate with c++ server and pass a data list(data structure) between the two using socket. I need a sample code and the way to doing that.
Please help.
Thanks
Originator
Similar Threads
-
By lwinn213 in forum Java
Replies: 2
Last Post: 10-23-2008, 01:14 PM
-
By Varsha1717 in forum Java
Replies: 1
Last Post: 06-03-2008, 06:55 AM
-
Replies: 3
Last Post: 06-02-2006, 09:00 PM
-
By Calderara Serge in forum Enterprise
Replies: 1
Last Post: 07-24-2002, 12:40 AM
-
By Sreedhar Kaluva in forum Database
Replies: 0
Last Post: 02-13-2001, 08:15 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks