File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "C -> Java Socket Transfer" Watch "C -> Java Socket Transfer" New topic

C -> Java Socket Transfer

Huw Boy

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?
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.
I agree. Here's the link:
subject: C -> Java Socket Transfer
It's not a secret anymore!