com.svincent.util
Class SocketMessage

java.lang.Object
  |
  +--com.svincent.util.SocketMessage

public class SocketMessage
extends java.lang.Object

Construct & run one of these puppies. They send a string to a socket.

Author:
Shawn Vincent

Constructor Summary
SocketMessage(java.lang.String _host, int _port)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 boolean send(java.lang.String msg)
          Returns 'true' if successful.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketMessage

public SocketMessage(java.lang.String _host,
                     int _port)
Method Detail

send

public boolean send(java.lang.String msg)
Returns 'true' if successful.

main

public static void main(java.lang.String[] args)



This is documentation for Moksa Prolog, which can be found at http://www.svincent.com/moksa/

Copyright © 1999 Shawn P. Vincent.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.