mport java.io.*;
import java.net.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class MessengerA {
protected JTextField textField;
protected JTextArea textArea;
DatagramSocket socket;
DatagramPacket packet;
InetAddress address = null;
final int myPort = 5000;
final int otherPort = 6000;
public MessengerA() throws IOException{
MyFrame f = new MyFrame();
address = InetAddress.getByName("127.0.0.1");
socket = new DatagramSocket(myPort);
}