I am writing a client -server software..
In program Client tries to communicate to the server by sending a TCP packet.The packet was sent sucessfully..
But im not getting it in the other end .When I am sending another packet to the server(from any Client).. I am able to receive the old packet

I think its a coding bug....I couldnt trace it??? Can anybody help me out????

Recommended Answers

All 5 Replies

Not without code.

commented: =P +4

Code doesnt have anything in particular...I am sending a string using a connected socket.

Are you perhaps waiting to receive a particular character or string ? So that it thinks it's done when the second packet comes in, but not with the first ?

Code doesnt have anything in particular...I am sending a string using a connected socket.

Well we can't figure out your problem without seeing the code.

How are people going to debug without looking at the code?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.