I now have a client and a server accepted connection

Here is the code that server accept message from client after connect


Code:
try{ 
  TcpClient client=new Tcpclient(add,port); 
  bytes[] by=new bytes[256]; 
  Networkstream s=client.GetStream(); 
  int b=s.read(by,0,by.length); 


  String msg=Encoding.Ascii.getstring(by,0,b); 
  console.writeline("{0}",msg); 
  client.close(); 



} 


catch(exceptoin){something}
And from client
Code:
TcpClient client=new TcpClient(add,port); 
if(connected){ 
  string s="*~HAPPY* CHRISTMAS *_*EVERYONE*~ !!*!*!!*"; 
  Networkstream stream=client.getstream(); 
  Byte[] data=Encoding.Ascii.getbytes(s); 


  stream.write(data,0,data.length) 
 console.write("{0}",s) 



}

There is no message set from client on Server edit box
Please fix it please, very urgent need


thanks