home *** CD-ROM | disk | FTP | other *** search
- import java.net.*;
- import java.io.*;
-
- public class \Name\ extends java.net.SocketImpl
- {
- public \Name\ ()
- {
- super ();
- }
- protected void create(boolean stream) throws IOException
- {
- //Add your code here
- }
- protected void connect(String host, int port) throws IOException
- {
- //Add your code here
- }
- protected void connect(InetAddress address, int port) throws IOException
- {
- //Add your code here
- }
- protected void bind(InetAddress host, int port) throws IOException
- {
- //Add your code here
- }
- protected void listen(int count) throws IOException
- {
- //Add your code here
- }
- protected void accept(SocketImpl s) throws IOException
- {
- //Add your code here
- }
- protected InputStream getInputStream() throws IOException
- {
- //Add your code here
- return null;
- }
- protected OutputStream getOutputStream() throws IOException
- {
- //Add your code here
- return null;
- }
- protected int available() throws IOException
- {
- int AResult = 0;
- //Add your code here
- return AResult;
- }
- protected void close() throws IOException
- {
- //Add your code here
- }
- }
-