
July 29th, 2004, 03:04 AM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 5
Time spent in forums: 1 h 1 m 21 sec
Reputation Power: 0
|
|
|
c# socket and java socket
hello
i am a java programmer,recently we got a project,that need the c# app to communicate with java app ,i select the socket as intermediate.
i notice that java socket term is divided into " blocking" and "non-blocking",the latter come from jdk1.4, the c# socket is devided into "synchronized" and "asynchronized" and both of them are blocking,
in my project,i have tried synchronized c# socket coorperating to blocking java socket,it works well..but when i modify the c# app to ASYNCHRONIZED socket,my system DON'T works well,i don't know why? i can't find asynchronized socket in java,.i learn that nio socket is nonblocking, is it asynchronized?
who can tell me what's is the best combination solution for the socket communication between java and c#?
|