This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes c# socket and java socket Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "c# socket and java socket" Watch "c# socket and java socket" New topic
Author

c# socket and java socket

zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 403
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#?
leon fan
Greenhorn

Joined: Aug 02, 2004
Posts: 19
I think " blocking" and "non-blocking" or "synchronized" and "asynchronized" only affect your local end, which should not be affected by other end in communication on TCP/IP network.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: c# socket and java socket
 
Similar Threads
How Do You Determine a Closed Socket?
How to handle an asynchronized scenario?
Does Java have asynchronized I/O?
how to change the default encoding
Function chain with asynchronized request