Hi
I have a problem:
when i send data:
byte[] fName =
ASCIIEncoding.ASCII.GetBytes(stringFileName);
TcpClient Client = new TcpClient();
Client.Client.Send(fName,fName.Length,SocketFlags. None);
in my case fName is 7
When i receive data on Server
byte[] buffer = new byte[256];
int size = connection.Receive(buffer);
Since size is number of received bytes, in my case it's 256
Any ideas?
PK
fName is filename. I need to send it, to allow server store file, but
until my received name is sentname+TRASH i can't create new file.