Communicating Java Server and C client using char buffer
I have a C server which writes char string to buffer
char buffer="message=1|Value=1|a="Hello"|b=2|c="How are u"
There is a java server listening for this on socket
Q.1 Can i directly use java and C communicate on socket for this char string
After recieving this message java will do some processing and give response to C client
Q2. Can java send such character string message as response to C client so that java server and C Client can communicate directly on Socket apart from using JNI