package upem.net.tcp;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
import java.nio.charset.Charset;
import java.util.LinkedList;
import java.util.List;

public class ClientEOS {

    public static final Charset charsetUTF8 =Charset.forName("UTF-8");

    public static String getFixed(String st, SocketAddress address,int bufferSize) throws IOException {
    }

    public static String getUnbounded(String st, SocketAddress address) throws IOException {
    }


    public static void main(String[] args) throws IOException {
        System.out.println(getUnbounded("GET / HTTP/1.1\r\nHost: www.google.fr\r\n\r\n", new InetSocketAddress("www.google.fr", 80)));
        

    }
}
