Click here to Skip to main content
15,881,092 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

case 1:
I have created server and client tcp/ip application and client has sent 512 bytes to server , but server is not receving 512 bytes from client.

how can i make sure that what ever the data has been sent from client and server is received?

case 2:

Client has sending 1024 bytes to server through tcp/ip and before server is receiving 1024 bytes and connection got disconnected.

So how can i make sure that 1024 bytes has sent to server?


please explain.


thanks in advance


Regards,
ranjith
Posted
Updated 13-Nov-13 23:05pm
v2
Comments
Richard MacCutchan 14-Nov-13 7:02am    
please explain.
There is a bug or bugs in your code. Unfortunately you failed to show us your code so we cannot even begin to guess what you may have done wrong.

1 solution

hi,

for case 1 and 2 :

for tracing the packet send on the net use wireshark application from here[^] so you can trace network packet from the application.

For reference please have a look on this A simple TCP/IP Chat client/server[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900