arduino uno and usr-tcp232-t2 sending AT commands

Hi guys.
Im already have my arduino uno working with usr-tcp232-t2.
There are somethings I can not figure out.
1 _ Documentation mention that is it possible to get module mac address but there is not any example.
and
2 _ Im trying to retrieve html from the arduino so Im using module as tcp server.
Everything works ok but module does not release connection so my browser keeps loading waiting for data.
So ...
Is it possible to force module to finish tcp connection somehow? AT command perhaps?

Thats it.
Any idea would be wellcome.
Regards.
Leandro

Im already have my arduino uno working with usr-tcp232-t2.

I'm missing a link to that device.

1 _ Documentation mention that is it possible to get module mac address but there is not any example.

Documentation? I cannot find any hint to a documentation in your post!

2 _ Im trying to retrieve html from the arduino so Im using module as tcp server.
Everything works ok but module does not release connection so my browser keeps loading waiting for data.

Sounds like an error in the code but you failed to post your code.

Did you actually read the sticky post at the top of the forum named "How to use this forum"?

ok ... very sorry for my rude post.
Please let me fix this ...
usr-tcp232-t2 is an ethernet to serial converter, you can read about this here:

This current code (wich is not working)
is:

String str1 = "";
String atword = "";
char SEND_OK=0;
int maxdelay=100, maxdelay1=999999;


void setup(){
   Serial.begin(115200);
   str1.reserve(200);
   Serial.print("finish setup");
}


void Usart_SendString(String atword)
{
    Serial.print(atword);
    return;
}




void WaitforATcommand(){

        while(1){
          delay(10);
          while(Serial.available() > 0 ){
            str1 = Serial.readString();
            SEND_OK=1;
            return;
          }
        }
}

 
void loop() {

      Usart_SendString("+++");
      WaitforATcommand();
          if(SEND_OK==1) 
            {
              Usart_SendString("AT+VER\r\n");          
              for (int delay = 0; delay < maxdelay; delay++)
              {}
            }
      WaitforATcommand();
      Serial.print("command:");
      Serial.print(str1);
}

hope you can helpme,

Thanks.
Leandro

Everything works ok but module does not release connection so my browser keeps loading waiting for data.

I have some doubts about that sentence given the posted code...

Don't expect us to do your job.