How to send strings over TCP/IP
Posted on 2001-06-08
I need to write a Java application on run on Win NT. The application must send commands, and some data, using TCP/IP to a VB application that is listening on a certain port/sockets. The commands and data should be controlled by buttons on a form. EG press this button to send 'This String' and 'This data'.
Please could you supply me with some sample code to load a form, connect to an IP address and port, then send the commands and data.
Thanks in advance,