how to send an array of bytes over a TCP connection (java programming)

Posted by Mark Roberts on Stack Overflow See other posts from Stack Overflow or by Mark Roberts
Published on 2010-05-21T00:40:27Z Indexed on 2010/05/21 0:50 UTC
Read the original article Hit count: 264

Filed under:
|
|
|
|

Can somebody demonstrate how to send an array of bytes over a TCP connection from a sender program to a receiver program in Java. (I'm new to Java programming, and can't seem to find an example of how to do this that shows both ends of the connection (sender and receiver.) If you know of an existing example, maybe you could post the link. (No need to reinvent the wheel.) P.S. This is NOT homework! :-)

© Stack Overflow or respective owner

Related posts about java

Related posts about sockets