wood burning stoves 2.0*
The moose likes Sockets and Internet Protocols and the fly likes C -> Java Socket Transfer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "C -> Java Socket Transfer" Watch "C -> Java Socket Transfer" New topic
Author

C -> Java Socket Transfer

Huw Boy
Greenhorn

Joined: Jun 06, 2001
Posts: 4
Is it possible to send data in a C program to a URL running a Java server. Can I set up a socket connection between the two to stream data between them?
How could I simply test this connection?
Thanks
Huw
karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
yes, you can.
it just have to be same style of connection / protocol on each side.
perhaps you need to check in what order the bytes arrive/leave the java side.
karl
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: C -> Java Socket Transfer