I have a server written in C and its listing on a port (I checked it with netstat and going step by step in my server code) . and there is a client writtten in Java which run on a windows machine my server runs on a Linux machine.

my question is can there be any complication when these 2 try to talk. the server basically writes some data when a client connects. (when I ran these 2 always the Java client complained "connection refused")