G
Guest
Hi,
I've an application that is using socket connection over TCP/IP for sending
data from Pocket PC to a server. Well whenever the data size is on or below
58-59 kb all the data is send succesfully from Pocket PC to server. But when
the data is around 70-80 KB , it seems that the client application has send
the data from its end but the data never reaches the server. I'm using the
following lines to send data:
private Socket client;
byte[] data;
client = new Socket(AddressFamily.InterNetwork, SocketType.Stream,
ProtocolType.Tcp );
IPEndPoint endPt=new IPEndPoint(IPAddress.Parse(serverIP),portNo);
client.Connect(endPt);
LingerOption lingerOption = new LingerOption (true, 1);
client.SetSocketOption (SocketOptionLevel.Socket, SocketOptionName.Linger,
lingerOption);
client.Send(data);
Even I'm not receiving any exception due to socket connection failure, etc;
Any tip/ suggestion regarding the solution would be very helpful.
Thanks
I've an application that is using socket connection over TCP/IP for sending
data from Pocket PC to a server. Well whenever the data size is on or below
58-59 kb all the data is send succesfully from Pocket PC to server. But when
the data is around 70-80 KB , it seems that the client application has send
the data from its end but the data never reaches the server. I'm using the
following lines to send data:
private Socket client;
byte[] data;
client = new Socket(AddressFamily.InterNetwork, SocketType.Stream,
ProtocolType.Tcp );
IPEndPoint endPt=new IPEndPoint(IPAddress.Parse(serverIP),portNo);
client.Connect(endPt);
LingerOption lingerOption = new LingerOption (true, 1);
client.SetSocketOption (SocketOptionLevel.Socket, SocketOptionName.Linger,
lingerOption);
client.Send(data);
Even I'm not receiving any exception due to socket connection failure, etc;
Any tip/ suggestion regarding the solution would be very helpful.
Thanks