Hi All,
Thanks for Reading. I have a socket server written in Java. Any idea how I can connect with this server using Winsock and send and recieve a file???
Thanks,
Prez
Printable View
Hi All,
Thanks for Reading. I have a socket server written in Java. Any idea how I can connect with this server using Winsock and send and recieve a file???
Thanks,
Prez
Doesn't Java use Winsock as well???
Anyway, it shouldn't matter where the connection comes from they will be able to connect, it is dealing with the difference in how data is interpreted by each langauge which can be a problem.
Lately I've been using telnet to connect to my server for testing purpose's...
A connection is a connection unless the protocls are completly different. (TCP, UDP, etc)
I have done Java client and VB server, passing UDT type structures. In the Java client I use DataInputStream and DataOutputStream. The VB server converts the UDT to/from a byte array when sending/receiving.
The type of data in the file may determine the type of stream that you use.