Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

C -> Java Socket Transfer

 
Huw Boy
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic