This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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
Similar Threads
Java client and C server socket
Calling Java Methods in a windows java service
Help me out !
Persistent connection